question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Resend MFA Code API

See original GitHub issue

Is 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:open
  • Created 3 years ago
  • Reactions:27
  • Comments:32 (5 by maintainers)

github_iconTop GitHub Comments

15reactions
cezarcarvalhaescommented, Sep 10, 2020

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.

14reactions
elorzafecommented, Aug 28, 2020

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found