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?
802 views Asked by user2985824 At
1
There are 1 answers
Related Questions in GRAILS-PLUGIN
- Table UserRole not populated in Grails 6
- Grails project on file change restarts tomcat flushes out session data
- Grails 3.017 not showing the fields of the domain class fields in localhost 8080
- Grails Mail plugin headers is not correctly generated
- Grails sortableColumn is refreshing page instead of container
- Error | Failed to resolve dependencies in grails-app
- Could not get resource 'https://nodejs.org/dist/v14.19.3/ivy.xml'
- Grails Field Plugin: how to access bean from custom layout template for f:display tag
- How to configure grails-spring-security-saml plugin version 5.0.0-RC3 for https applications
- How to implement concurrent session filter in grails to handle multiple login session?
- Groovy files from a plugin
- grails push notification from one user to another
- grails 5 web-plugin profile throwing missing ServletWebServerFactory bean
- Grails project after deploy to heroku JSESSIONID cookie attribute secure is not set
- Grails 5 multi module project recompile failed
Related Questions in FORGOT-PASSWORD
- LastpaswordchangedDatetime return as longint value instead of datetime ,when i calling graphapi from custom policy( forgot password custom policy)
- Error Laravel Password Reset: Column 'email' Cannot Be Null
- Reset password HTML form - browser won't suggest password update
- How to change laravel broker
- MicroStrategy Web - Forgot Password function in Login Page
- Autocomplete password against email (in browser password manager) instead of recovery code
- otp verification from user and db table
- I'm trying to send a password reset link to my email through phpmailer this is the error its showing
- Which is the bestPlatform to send OTP as a SMS in Nodejs? i have tried twilio but they keep suspending my account due to the Geo location
- Message could not be sent. Mailer Error: Recipient email address is not set or empty
- In my graduation android app , i want to use OTP in forget password (using phone number not email) through realtime fire base . what is the solution?
- Flutter OTP for password changing
- My ResetPassword does not update on database
- Pass custom attributes as placeholder in verification mail of AWS cognito
- generating a password for login instead of a token
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?
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)
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.