Cognito verified email users being asked to verify every time they log in

0

Currently using Cognito in a react app. Using the Authenticator component from "@aws-amplify/ui-react", Users are being asked to verify their email even after receiving the verification code in their email and using the code successfully. All users in the user pool are showing the email is verified. When I manually create a new user and select the email verified box, it still asks to verify or skip during every login attempt.

As a last resort I tried going into the MFA and verifications tab inside cognito and changing 'Which attributes do you want to verify?' section to No verification. Still doing this all users in the cognito pool are being asked to verify on every login. I do not have and user groups setup, all users are in a pool.

edit - also just tried to call the adminUpdateUserAttributes API and pass email_verified = true as an attribute with a newly created user using aws cli. I can see in cognito dashboard the user email switching to verified in real time. However, the user is still being asking to verify the email even though it clearly shows the user email as verified.

asked a year ago49 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions