You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using AmplifyAuthenticator and AmplifySignUp without an email or phone field and all verification turned off it still asks you to enter a verification code. This then locks the user on that page because they can’t be sent a code.
Expected behavior
It should skip the verification page if no email or phone number is available and go right to the app.
Reproduction steps
1.Configure a react app using AmplifyAuthenticator with the code snippet below.
2. Set Cognito to have no verification and not require email or phone. See photo.
3. Start the app.
4. Try to create an account.
The text was updated successfully, but these errors were encountered:
wylie39
changed the title
AmplifySignUp can lock user if email is not required
AmplifySignUp can lock user on page if email is not required
May 20, 2021
It turns out that is not a bug. AWS Cognito requires that all accounts be confirmed. If you don't have an email or password field you have to have a lambda mark the account as confirmed automatically. Once this is set up the UI behaves as expected and skips the confirm page.
Before opening, please confirm:
JavaScript Framework
React
Amplify APIs
Authentication
Amplify Categories
auth
Environment information
Describe the bug
When using AmplifyAuthenticator and AmplifySignUp without an email or phone field and all verification turned off it still asks you to enter a verification code. This then locks the user on that page because they can’t be sent a code.
Expected behavior
It should skip the verification page if no email or phone number is available and go right to the app.
Reproduction steps
1.Configure a react app using AmplifyAuthenticator with the code snippet below.
2. Set Cognito to have no verification and not require email or phone. See photo.
3. Start the app.
4. Try to create an account.
Code Snippet
Log output
No response
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
Cognito with no verification.
The text was updated successfully, but these errors were encountered: