Skip to content

CONTINUE_SIGN_IN_WITH_MFA_SETUP_SELECTION challenge is not triggered. #6902

@akhilrangu

Description

@akhilrangu

Before creating a new issue, please confirm:

On which framework/platform are you having an issue?

React

Which UI component?

Authenticator

How is your app built?

Vite

What browsers are you seeing the problem on?

Chrome

Which region are you seeing the problem in?

No response

Please describe your bug.

I have a userPool with Required MFA, and the MFA methods are TOTP and SMS.
When the user tries to signIn, amplify should return the challenge CONTINUE_SIGN_IN_WITH_MFA_SETUP_SELECTION, but the amplify's response is
CONTINUE_SIGN_IN_WITH_TOTP_SETUP

Please let us know, when CONTINUE_SIGN_IN_WITH_MFA_SETUP_SELECTION challenge is triggered (if there are any further configs required).

What's the expected behaviour?

I have a userPool with Required MFA, and the MFA methods are TOTP and SMS.
When the user tries to signIn, amplify should return the challenge CONTINUE_SIGN_IN_WITH_MFA_SETUP_SELECTION.

Help us reproduce the bug!

Create a user Pool with Required MFA and add TOTP and SMS as MFA methods.
signIn with username and password through aws-amplify.

Code Snippet

// Put your code below this line.

Console log output

No response

Additional information and screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionGeneral question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions