Open
Description
Before opening, please confirm:
- I have searched for duplicate or closed issues and discussions.
- I have read the guide for submitting bug reports.
- I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
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:
- user creates account with email and does not verify, account remains unconfirmed
- user forgets password and tries to reset password, but cognito doesn't send password code for unconfirmed account
- I would like to detect if the email is unconfirmed, and tell user to first verify the email before trying to reset the password.
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.