Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cognito API - Add the ability to request an MFA SMS code be re-sent #5578

Closed
2 tasks
alan-wint opened this issue Sep 9, 2024 · 3 comments
Closed
2 tasks
Labels
feature-request A feature should be added or improved. service-api This issue is due to a problem in a service API, not the SDK implementation.

Comments

@alan-wint
Copy link

Describe the feature

Sometimes a user will not get an MFA code sent by Cognito via SMS. Please add a method to request re-sending the MFA code via SMS.

Use Case

Sometimes a user will not get an MFA code sent by Cognito via SMS. This can be due to a multitude of reasons:

  1. The user had the phone number disabled (multi-SIM)
  2. The cellular network was down
  3. The reception was too poor
  4. The user was in flight mode

Proposed Solution

Add a method for requesting that the MFA code be re-sent via SMS. It should be rate-limited (configurable per-pool), to prevent abuse.

Other Information

There is definitely a demand for this across AWS products:
aws/aws-sdk-js#3488
aws-amplify/amplify-js#6676
We have a workaround which involves re-logging in, but its not really a good way to do things.

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

AWS Java SDK version used

2.27.21

JDK version used

21

Operating System and version

Ubuntu 22.04 LTS

@alan-wint alan-wint added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Sep 9, 2024
@debora-ito
Copy link
Member

According to the comments, the Cognito team has their eyes in the Amplify tracking issue aws-amplify/amplify-js#6676 -

Hello everyone, the Cognito team is collecting feedback since they are planning on enabling this feature. If you are open to having us reach out and get your feedback on our proposed experience, can you please send us an email to [email protected] with the subject of Resend MFA feedback

So I recommend to reach out to the Cognito team by sending them an email. This feature must be supported as a Cognito API in order to be available in the SDKs.

@debora-ito debora-ito added service-api This issue is due to a problem in a service API, not the SDK implementation. and removed needs-triage This issue or PR still needs to be triaged. labels Oct 11, 2024
@debora-ito
Copy link
Member

Please add your comments and thumbs ups in the issue Cognito team is tracking - aws-amplify/amplify-js#6676 - or send an email as instructed.

Closing this, there's no action pending on the Java SDK team.

Copy link

github-actions bot commented Nov 8, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved. service-api This issue is due to a problem in a service API, not the SDK implementation.
Projects
None yet
Development

No branches or pull requests

2 participants