- Newest
- Most votes
- Most comments
After creating a second app client in a pool, the second app client is not assigned a style by default and will return this error and may be another potential issue, for whatever reason that does not have a warning or different error message 😔
answered a year ago
You need to associate your application in the Managed Login menu, otherwise the redirect will fail with a page not found error. This may be a required step after upgrading to the hosted pages.
answered 9 months ago
The issue you're experiencing with your Cognito custom domain is likely related to a few potential factors:
-
Propagation delay: When you set up a new custom domain or make changes to an existing one, it can take up to an hour for Amazon Cognito to fully distribute and apply the new configuration. This includes propagating the SSL certificate across the CloudFront distribution associated with your custom domain.
-
DNS configuration: Ensure that your CNAME record in Route 53 is correctly pointing to the Alias Target URI provided by Cognito when you create a custom domain, not the Cognito Domain URI. This is a common oversight that can cause issues.
-
Certificate validation: Verify that your ACM certificate is in the us-east-1 (N. Virginia) region, as this is required for Cognito custom domains. Also, double-check that the certificate covers the exact domain name you're using.
-
CloudFront distribution: The custom domain for Cognito uses a CloudFront distribution. Ensure that you have the necessary permissions to update CloudFront distributions, as this is required for creating a custom domain.
To troubleshoot:
- Wait at least an hour after making any changes before testing again.
- Verify your Route 53 CNAME record is using the correct Alias Target URI.
- Check your ACM certificate region and coverage.
- Clear your browser cache and try accessing from different networks or devices.
- Ensure your IAM permissions include the ability to update CloudFront distributions.
If the issue persists after these steps, it may be worth contacting AWS support for further assistance, as there could be an underlying service issue.
Sources
ACM Cert Not Being Honored By Custom Domain in Cognito | AWS re:Post
Insufficient permissions. CloudFront UpdateDistribution permission is required to create a custom domain. | AWS re:Post
answered a year ago
i have done all the above steps and it doesn't work still
Relevant content
asked 2 years ago
asked 2 years ago
- AWS OFFICIALUpdated 9 months ago

Has it been resolved now and can you share more details on how you were able to resolve the issue so other can benefit