I read some documents in grails and related article but I'm confused which approach is the best to have forgot password in login page. I know I can use Spring Security UI Plugin or Acegi plugin. But I'm not sure which way is the best.
What is the best approach to have forgot password function in grails?
800 Views Asked by user2985824 At
1
There are 1 best solutions below
Related Questions in GRAILS-PLUGIN
- Grails + Mongo: GORM mysteriously thinks a object referenced by an embedded field has a changed propery
- Defining a Grails 3.0 plugin domain class to be extendable
- Configuring CK Editor plugin in Grails
- How to declare javascript asset in the view to be rendered within the footer using Grails Asset Pipeline
- Notifications plugin - what to use
- How to enable cross-origin requests in Grails websocket plugin
- Add behavior (relationships) to grails plugin domain classes from main application?
- How to run a thread in background using grails 2.3.11
- Not able to import Quartz Monitor plugin in Grails 2.4.3
- Grails 2.3.9 - Error: ClassNotFoundException: grails.plugin.spock.test.GrailsSpecTestType
- How do I use Bintray with Grails when applying plugins to my app?
- What are inline plugins?
- A Grails run-app Error
- Grails Jquery-UI datepicker
- cannot install grails 2.5 local plugin( zip file)
Related Questions in FORGOT-PASSWORD
- Forgotten password reset page: should the user need to enter a username/email as well?
- Codeigniter: send email with expired time
- Meteor accounts-ui forgotpassword from not defined
- Custom password requirements on forgot password/ password recovery - Parse.com
- Password controller update method
- What is the best approach to have forgot password function in grails?
- Reset Password Issue with Devise
- Laravel 5.2 Modal popup for forget Password displaying 500 internal server Error while running ajax function
- asp.net membership change password without knowing old one
- hsqldb bypass authentication: reset forgotten user and password
- Devise Forgot Password for logged in user
- Implementing forgot password functionality in Java
- PasswordReminder in Laravel
- MicroStrategy Web - Forgot Password function in Login Page
- How to change laravel broker
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Please don't use the Acegi plugin - it's been abandoned for a long time and replaced by the http://grails.org/plugin/spring-security-core plugin that the UI plugin extends.
I think that the forgot-password workflow in the UI plugin is pretty good. You have to have already stored the user's email, so when they're authenticated they can start the process without providing an email address to send to. The plugin generates a random unique token and stores it in the database, and sends an email with that code. When the user clicks the link in the email, they can then choose a new password.
If you don't want to use the whole UI plugin, feel free to borrow that part of the code.