Before creating a new issue, please confirm:
On which framework/platform are you having an issue?
React
Which UI component?
Authenticator
How is your app built?
Vite
What browsers are you seeing the problem on?
No response
Which region are you seeing the problem in?
No response
Please describe your bug.
When a user has their MFA enabled (lets say SMS), and they perform a sign-in, they get the view of entering the OTP, and there is a "Resend Code" button being rendered (All by the Authenticator component).
However, as I understand from AWS Support, resending the code during sign-in is not actually supported, and user is expected to go via initAuth again. (When I click the Resend Code I get an error password is required to signIn).
Am I missing anything?
I mean, Amplify UI renders this button for a reason, right?
What is the quickest workaround to have this button re-init the auth flow, either programmatically, or by redirecting the user back to entering email+password?
Also, is there an ETA for implementing this ability?
Thanks
What's the expected behaviour?
Resend Code during sign-in should, in face, resend the OTP code
Help us reproduce the bug!
- Have a user with MFA set (like SMS)
- Sign in
- Click Resend Code button
password is required to signIn is shown, and no new code is sent
Code Snippet
// Put your code below this line.
Console log output
No response
Additional information and screenshots
"@aws-amplify/ui-react": "^6.15.3"
"aws-amplify": "^6.16.3"
Before creating a new issue, please confirm:
On which framework/platform are you having an issue?
React
Which UI component?
Authenticator
How is your app built?
Vite
What browsers are you seeing the problem on?
No response
Which region are you seeing the problem in?
No response
Please describe your bug.
When a user has their MFA enabled (lets say SMS), and they perform a sign-in, they get the view of entering the OTP, and there is a "Resend Code" button being rendered (All by the Authenticator component).
However, as I understand from AWS Support, resending the code during sign-in is not actually supported, and user is expected to go via initAuth again. (When I click the Resend Code I get an error
password is required to signIn).Am I missing anything?
I mean, Amplify UI renders this button for a reason, right?
What is the quickest workaround to have this button re-init the auth flow, either programmatically, or by redirecting the user back to entering email+password?
Also, is there an ETA for implementing this ability?
Thanks
What's the expected behaviour?
Resend Code during sign-in should, in face, resend the OTP code
Help us reproduce the bug!
password is required to signInis shown, and no new code is sentCode Snippet
// Put your code below this line.Console log output
No response
Additional information and screenshots
"@aws-amplify/ui-react": "^6.15.3"
"aws-amplify": "^6.16.3"