Skip to content
This repository was archived by the owner on Oct 25, 2022. It is now read-only.
This repository was 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

@fabripautasso

Description

@fabripautasso

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions