Resend MFA Code API
See original GitHub issueIs your feature request related to a problem? Please describe. Our workflow MFA is required in Cognito via (SMS). The user enters the login username and password and is redirected to verify the MFA code page. Now comes the edge case where a user does not receive the MFA code due to network issues or other interference. Therefore we need to provide users with the option to resend an MFA code.
Describe the solution you’d like
A method to resend MFA Code due to some edge case a user does not receive a code within the initial sign In flow.
A similar hook to Auth.resendSignUp()
but for MFA Code.
Describe alternatives you’ve considered
Calling the Auth.SignIn()
to resend MFA Code is not ideal because signIn requires a username and password.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:27
- Comments:32 (5 by maintainers)
Top Results From Across the Web
ResendConfirmationCode - Amazon Cognito User Pools
When you use the ResendConfirmationCode API action, Amazon Cognito invokes the function that is assigned to the custom message trigger.
Read more >Reset User Multi-Factor Authentication and Recovery Codes
Learn how to reset a user's MFA in case they lose their mobile device and do not have a recovery code.
Read more >Factors API - Okta Developer
Okta round-robins between SMS providers with every resend request to help ensure ... A 400 Bad Request status code may be returned if...
Read more >Developers - Resend MFA Code API - - Bountysource
Resend MFA Code API. aws. 28 August 2020 Posted by aoloo. Is your feature request related to a problem? Please describe. Our workflow....
Read more >Resend one time password (SMS) - Ping Identity Support Portal
I am looking for API to resend the otp, do you know how to resend the sms code via API call? Also my...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This has been an issue for us for quite some time. I don’t like having to hold on to a password in order to call Auth.signIn again for this feature, and asking users to sign in again is really clunky.
@aoloo
doing
Auth.signIn(..)
will resend the code, in that case you will need to store in memory the username and password for that purpose.