Abdallah Sabri
Abdallah Sabri

Reputation: 441

AWS Cognito email confirmation not redirect to my website

I am using aws cognito as federation service, it works fine except the email confirmation, it redirects me to aws confirmation page (little box) after clicking the confirmation link.

I want it to redirect me to my page, It gives me a link like:

https://<MY-DOMAIN>.auth.eu-west-1.amazoncognito.com/confirmUser?client_id=<CLIENT_ID>&user_name=<USERNAME>&confirmation_code=<CODE>

But I need something like:

https://<MY-DOMAIN>.auth.eu-west-1.amazoncognito.com/confirmUser?client_id=<CLIENT_ID>&user_name=<USERNAME>&confirmation_code=<CODE>&redirect_uri=https://www.MYWEBSITE.com/WELCOME

How can I do this?

Upvotes: 0

Views: 1412

Answers (1)

Robin Varghese
Robin Varghese

Reputation: 1179

Please configure Call Back URLs in your App Client Settings inside App Integration which is part of AWS Cognito user Pool.

Upvotes: 1

Related Questions