Issues with Cognito User Sign-up and Code Verification

0

Hello,

We are facing critical issues with our user sign-up and verification process using AWS Cognito in our React application. The problems are as follows:

CodeMismatchException: Users receive a verification code upon signing up. However, when they enter the code to verify their accounts, they consistently get a CodeMismatchException: Invalid verification code provided, please try again error. We have confirmed that the users are entering the correct code, and we have also ensured that the code is used within the session duration.

Resending Verification Code: When a user requests a new verification code, it is not delivered to their email. We have tried this multiple times and confirmed that only the first code is received.

Here are the settings we are using in our Cognito User Pool:

Authentication flows: ALLOW_REFRESH_TOKEN_AUTH, ALLOW_USER_PASSWORD_AUTH, ALLOW_USER_SRP_AUTH Authentication flow session duration: 3 minutes Refresh token expiration: 30 days Access token expiration: 60 minutes ID token expiration: 60 minutes We have already tried with different email accounts, and ensured that we are not hitting any rate or quota limits. We are at a critical stage of our project, and these issues are causing significant delays. Could you please provide assistance to resolve these problems?

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