You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please include any relevant guides or documentation you're referencing
No response
Describe the bug
When multiple MFA methods (i.e. SMS + TOTP) are enabled in Cognito, Amplify will return a next sign in step of CONTINUE_SIGN_IN_WITH_MFA_SELECTION and pass back a set of allowed MFA types: allowedMFATypes: Set<MFAType>.
The intended use is that the user will chose one of these types, and then the application will call confirmSignIn(challengeResponse) to continue the sign in process.
The issue is that the value of challengeResponse that needs to be passed is one of either "SMS_MFA" or "SOFTWARE_TOKEN_MFA", and these aren't exposed anywhere in the Amplify API or documented in the public documentation (that I can find).
On Swift, these values are available by calling e.g. selectedMfaType.challengeResponse.
Reproduction steps (if applicable)
No response
Code Snippet
// Put your code below this line.
Log output
// Put your logs below this line
amplifyconfiguration.json
No response
GraphQL Schema
// Putyourschema below this line
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered:
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
Before opening, please confirm:
Language and Async Model
Not applicable
Amplify Categories
Authentication
Gradle script dependencies
// Put output below this line
Environment information
Please include any relevant guides or documentation you're referencing
No response
Describe the bug
When multiple MFA methods (i.e. SMS + TOTP) are enabled in Cognito, Amplify will return a next sign in step of
CONTINUE_SIGN_IN_WITH_MFA_SELECTION
and pass back a set of allowed MFA types:allowedMFATypes: Set<MFAType>
.The intended use is that the user will chose one of these types, and then the application will call
confirmSignIn(challengeResponse)
to continue the sign in process.The issue is that the value of challengeResponse that needs to be passed is one of either "SMS_MFA" or "SOFTWARE_TOKEN_MFA", and these aren't exposed anywhere in the Amplify API or documented in the public documentation (that I can find).
On Swift, these values are available by calling e.g.
selectedMfaType.challengeResponse
.Reproduction steps (if applicable)
No response
Code Snippet
// Put your code below this line.
Log output
amplifyconfiguration.json
No response
GraphQL Schema
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: