aws-amplify-auth-starters
aws-amplify-auth-starters copied to clipboard
React version - EnableSoftwareTokenMFAException - Code mismatch and fail enable Software Token MFA
Hello @jpeddicord and @dabit3, we are trying to implement this solution in one of our React applications. We downloaded the react example and tied it to our existing Cognito User Pool. Authentication works fine, but when we try to enable TOTP for a user we are always getting this error
{__type: "EnableSoftwareTokenMFAException",…}
message: "Code mismatch and fail enable Software Token MFA"
__type: "EnableSoftwareTokenMFAException"
The apps we used to generate the TOTP code were Authy
and Google Authenticator
Can you verify if there are any issues with the React version of this sample? or it could be a configuration issue in Cognito?