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?

沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南