-
Notifications
You must be signed in to change notification settings - Fork 824
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
amplify auth update
makes "Email Verification Link with Redirect" not working
#5720
Comments
This is an known issue for Cognito, people have figured out a bunch of workarounds, for example: https://medium.com/@moedano.t/redirect-to-your-website-after-confirm-registration-using-aws-cognito-and-cloud-formation-5c50ff15ff56 Hope that helps. |
@UnleashedMind Thanks for the links. |
Hi Amplify team, |
@yaquawa |
@UnleashedMind |
Any update on this? |
I think I found the issue now.
|
I tried editing this file: The original content of this file was: {
"trigger": true,
"modules": [
"verification-link"
],
"parentResource": "minaoshi2713aa05",
"functionName": "minaoshi2713aa05CustomMessage",
"resourceName": "minaoshi2713aa05CustomMessage",
"parentStack": "auth",
"triggerEnvs": "[\n {\n \"key\": \"RESOURCENAME\",\n \"value\": \"resourceName\"\n }\n]",
"triggerDir": "/Users/wang/.npm-global/lib/node_modules/@aws-amplify/cli/node_modules/amplify-category-auth/provider-utils/awscloudformation/triggers/CustomMessage",
"triggerTemplate": "CustomMessage.json.ejs",
"roleName": "minaoshi2713aa05CustomMessage",
"skipEdit": true,
"REDIRECTURL": "https://3naoshi.com/",
"EMAILSUBJECT": "account confirm",
"EMAILMESSAGE": "click the follwoing links",
"RESOURCENAME": "resourceName",
"enableCors": false,
"triggerEventPath": "CustomMessage.event.json"
} I just changed the
then the issue gone. I noticed that if I run a |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed because of inactivity. Please open a new issue if you are still encountering problems. |
Still hit the same issue... will this be fixed someday? |
amplify auth update
makes "Email Verification Link with Redirect" not working
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
Describe the bug
I was able to sign up a user with the following code
The email has been sent correctly but,
here is the email body(a dot + URL):
I couldn't find any information about the "Email Verification Link with Redirect".
Have I missed something else?
What I want to achieve is that after user clicked on the link in the email, the user authenticated automatically and redirect to the "You are authenticated!" page on my site.
Amplify CLI Version
4.31.1
To Reproduce
The text was updated successfully, but these errors were encountered: