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
On which framework/platform are you having an issue?
React
Which UI component?
Authenticator
How is your app built?
Next.js
What browsers are you seeing the problem on?
No response
Which region are you seeing the problem in?
No response
Please describe your bug.
We are currently using the Authenticator for one of our applications, after having had made our own components previously. We migrated to authenticator because it was the only thing that solved other critical bugs.
We use the same user pool for multiple applications and use verification via email. However, when we use Authenticator we are not able to override or disable the "Confirmation Code" view after signup. The link is correctly sent to the user, but having a text and input area where they are expecting to write a code is going to be very confusing for our users. We would want it to be possible to show a view prompting the users to verify by clicking the link in their email.
We have been unable to find anything in the documentation about how to do this, even though we've found many references to that verification link should be possible.
Any help on how to set this up or update to the package with easier customization of the confirmsignup screen, with more options to change what type of verification method is being used.
What's the expected behaviour?
We would want our users to be prompted to click the verification link in their email instead of enter their confirmation code.
Hi @josefiniccms if I'm understanding correctly, you already have email link verification working and you don't want the confirmation code input form to show at all after a user does the initial sign up? You could get the authentication route from useAuthenticator and use that to show a custom view. Something like:
For useAuthenticator() to have the correct context, you would also need to wrap your application in <Authenticator.Provider></Authenticator.Provider>Details here
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?
Next.js
What browsers are you seeing the problem on?
No response
Which region are you seeing the problem in?
No response
Please describe your bug.
We are currently using the Authenticator for one of our applications, after having had made our own components previously. We migrated to authenticator because it was the only thing that solved other critical bugs.
We use the same user pool for multiple applications and use verification via email. However, when we use Authenticator we are not able to override or disable the "Confirmation Code" view after signup. The link is correctly sent to the user, but having a text and input area where they are expecting to write a code is going to be very confusing for our users. We would want it to be possible to show a view prompting the users to verify by clicking the link in their email.
We have been unable to find anything in the documentation about how to do this, even though we've found many references to that verification link should be possible.
Any help on how to set this up or update to the package with easier customization of the confirmsignup screen, with more options to change what type of verification method is being used.
What's the expected behaviour?
We would want our users to be prompted to click the verification link in their email instead of enter their confirmation code.
Help us reproduce the bug!
dependencies: {
"@aws-amplify/cli": "^12.1.1",
"@aws-amplify/ui-react": "^6.1.1",
"aws-amplify": "^6.0.7",
"next": "^14.0.4",
"react": "^18.2.0",
}
aws-exports: {
aws_project_region: "eu-central-1",
aws_cognito_region: "eu-central-1",
aws_user_pools_id: "eu-central-1_XXXXXXXXXXX",
aws_user_pools_web_client_id: "XXXXXXXXXXXXXXXXXXXX",
oauth: {
domain: "XXXXXXX.com",
scope: [
"phone",
"email",
"openid",
"profile",
"aws.cognito.signin.user.admin",
],
redirectSignOut: "http://localhost:3000/", // localhost for development, our domain for production
responseType: "code",
},
aws_cognito_username_attributes: ["EMAIL"],
aws_cognito_social_providers: ["GOOGLE", "APPLE"],
aws_cognito_signup_attributes: ["GIVEN_NAME", "FAMILY_NAME", "EMAIL"],
aws_cognito_mfa_configuration: "OFF",
aws_cognito_mfa_types: [],
aws_cognito_password_protection_settings: {
passwordPolicyMinLength: 8,
passwordPolicyCharacters: [
"REQUIRES_LOWERCASE",
"REQUIRES_UPPERCASE",
"REQUIRES_NUMBERS",
],
},
Code Snippet
Console log output
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: