- Newest
- Most votes
- Most comments
Unfortunately this isn't "natively" supported by the amplify-js
library. See this Github issue for more information on that. However, there is a clever work-around involving API gateway and a lambda. For a detailed description of that, see this Medium post as well as this StackOverflow answer.
Cognito allows you to configure your User Pool to send an email to your users when they attempt to register an account. You can configure this email to contain a link to Cognito's Hosted UI where the user's account will be marked as confirmed.
This trigger template allows you to define an email message with a link to a static S3 bucket that you control, where the user's account will be confirmed and they can then be redirected to a URL of your choice (presumably your application).
Below URL has a sample React code on how you can achieve that .
https://docs.amplify.aws/cli/usage/lambda-triggers/#email-verification-link-with-redirect
Relevant content
- asked a year ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 8 months ago