This repository was archived by the owner on Oct 25, 2022. It is now read-only.

Description
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?