Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

React version - EnableSoftwareTokenMFAException - Code mismatch and fail enable Software Token MFA #15

Open
fabripautasso opened this issue Mar 19, 2021 · 0 comments

Comments

@fabripautasso
Copy link

fabripautasso commented Mar 19, 2021

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant