New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Forgot Username option? only seems to be Auth.forgotPassword #5851
Comments
I can't believe this feature doesn't exist. I've also tried playing about with all the options of the
|
Any update on this feature? It would be very useful!! |
This is a very important feature that is missing. |
++ |
1 similar comment
++ |
Is this feature every going to be on the roadmap? It would have saved me 3 days of Cognito Migrations to use email based authentication instead 🥶 |
This would be a great feature, understandably it would likely require the dev team to have a verified phone or email attached to the cognito user, but as long as that requirement is fulfilled this would definitely improve end users of the products being developed with amplify and enable more secure user management. However, a temporary work-around could be to set up a table with user data that has the username and email. Have the users username and associated email written to the table when they sign up or if you have existing users which you'd like to add to this table write a script to write this data into the table. Then, create a function that can fulfill the functionality of appropriately finding the username of the user from your table and send the user an email that reminds them of their username. You could probably add a layer here that first sends the user an email warning them of this activity with a link to either report this as potential malicious activity or to confirm this action and then send a follow up email with their username queried from this table. |
Is your feature request related to a problem? Please describe.
I'm interested in helping the user resolve their forgotten credential sign-in issues. There doesn't seem to be a way to help the user if they forgot their USERNAME only password. This is a common issue and can be really useful.
Describe the solution you'd like
A feature to allow the user to enter their email in order to receive a username or related information.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
I noticed Auth.forgotPassword(username: string, clientMetadata?: ClientMetadata) excepts an optional parameter "clientMetadata?" Would an email be able to be entered there?
Please help
Code Snippet
Auth.forgotPassword(username) .then(data => {console.log(data)}) .catch(err => {console.log(err)}); })
The text was updated successfully, but these errors were encountered: