Cognito API - Add the ability to request an MFA SMS code be re-sent #5578
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.
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:
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
AWS Java SDK version used
2.27.21
JDK version used
21
Operating System and version
Ubuntu 22.04 LTS
The text was updated successfully, but these errors were encountered: