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?

没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则