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

We were unable to update your App Configuration: 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?


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

Leave a Reply