-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Cannot check if email is unconfirmed without password #8585
Comments
@opqpop What happen if you try |
@elorzafe That really isn't a solution though because you don't know if the user is confirmed or not. If you use Either there needs to be a way to lookup a user by username or email to find out if it's confirmed or functions like |
Any solution to this issue in sight? |
I found this comment: When you set |
Hi @geauser @tommulkins @opqpop As mentioned by @Namstel allowing "user exist errors" (by disabling For example, trying to reset the password of a user that doesn't have their email/phone verified will result with the following error:
Which you can catch and use to redirect the user to resend a verification code. |
Hi all, we've just been hit by this issue. User registers, verification email goes to spam, user wonders what happened and then tries to reset the password but never receives the e-mail or sees any sign that something went wrong. Changing The obvious option here is to create some sort of endpoint in our backend that checks if the account is verified and then either sends the recovery code email or the account verification one, but it would be nice if there was an easier solution. |
Before opening, please confirm:
JavaScript Framework
React, Next.js
Amplify APIs
Authentication
Describe the bug
Is there a way to pass ONLY an email and check if that email is confirmed?
I am trying to handle this case:
From browsing around, it seems like the only way to check if an email is confirmed is to also have the password to catch the UserNotConfirmedException during sign-in.
Expected behavior
A way to handle above scenario somehow, without confusing user why they aren't getting a reset email for being unconfirmed.
The text was updated successfully, but these errors were encountered: