aws-amplify / amplify-js

A declarative JavaScript library for application development using cloud services.
https://docs.amplify.aws/lib/q/platform/js
Apache License 2.0
9.39k stars 2.11k forks source link

Redirect to url after clicking email verification link #612

Closed guanzo closed 6 years ago

guanzo commented 6 years ago

When the user clicks on the email verification link, they're taken to a confirmation page, located at

https://APP.auth.us-east-2.amazoncognito.com/confirmUser?client_id=CLIENT_ID&user_name=USERNAME&confirmation_code=CODE

I'd like the ability to specify a URL that the confirmation page will redirect to, thereby auto logging in the user. This will make the signup flow more streamlined. Perhaps there could be an extra parameter for the redirect url.

https://APP.auth.us-east-2.amazoncognito.com/confirmUser?client_id=CLIENT_ID&user_name=USERNAME&confirmation_code=CODE&redirect=URL

The way it works now is that after clicking the link, the user has to go back to my app and log in again, which is awkward.

Harsh4999 commented 1 year ago

Waiting ++.....

KundaiClayton commented 1 year ago

Any updates on this?

ledgerdevelop commented 1 year ago

Amplify Team : Please this in high demand and the UX without it is terrible. The workarounds are also not dev friendly at all. It's been over 4 years now since this has been requested. Come on.

Wigglor commented 10 months ago

Any updates on this? Do we still need to use lambda triggers?

gh-samadkhan commented 8 months ago

Hi , any update on this issue it's 2023 October. Do I still need to use lambda triggers for redirecting my users after clicking on verification link or is there any option to add it from Dashboard. I can see re-direct URL but that's for cognito hosted UI

ViniciusgCaetano commented 5 months ago

January, 2024. Almost 6 years...urgh.

asyschikov commented 1 week ago

How is the internal conversation going?