Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Amazon Cognito - UI Customizations - cannot use the HTTP protocol

I'm using Amazon Cognito User pool to customize my UI for sign in and Log in. From my understanding, Callback URL is the landing page after successful login. When I tried to configure my callback URL, I always get below error Trying to input call back URL as http://BUCKETName.s3-website-us-east-1.amazonaws.com/index.html

We were unable to update your App Configuration: http://BUCKETName.s3-website-us-east-1.amazonaws.com/index.html cannot use the HTTP protocol. (Service: AWSCognitoIdentityProviderService; Status Code: 400; Error Code: InvalidParameterException; Request ID: b3a888be-ded0-11e7-b16b-0fd6b04b4706)

If I replace this with http://localhost/ then it works but it's of no use because can't use it in production. Amazon documentation doesn't provide much information on this. How do i make it work? Any idea?

like image 644
JAR Avatar asked Dec 12 '17 00:12

JAR


1 Answers

Cognito call back url doesnt support http. you need to use https instead.

like image 180
Summer Guo Avatar answered Sep 27 '22 22:09

Summer Guo