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.

질문됨 일 년 전52회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠