- Newest
- Most votes
- Most comments
Thank you for your detailed feature request regarding search engine indexing control for Amazon Cognito's Hosted UI and Managed Login pages.
I understand your concern about authentication pages potentially being indexed by search engines when using custom domains. You're correct that currently, the customization options available for Managed Login and Hosted UI focus on visual branding rather than technical SEO controls.
The available customization methods include:
For Managed Login (available with Essentials plan or higher):
- The branding editor, which is a no-code visual editor for managing login assets, styles, and display options
- Custom background images and dark mode themes
- Logo images and CSS styling
For Hosted UI (classic):
- Modifying a CSS file with a fixed set of style options
- Adding a custom logo image
These customization capabilities are designed to help you provide a consistent user experience between your authentication service and your application, but they don't currently extend to HTTP headers or robots.txt configuration.
Your suggestion about adding indexing controls—whether through default X-Robots-Tag headers, a configurable setting, or custom header support—addresses a legitimate gap in the current feature set. Authentication endpoints are indeed functional pages rather than content intended for search engine discovery.
I recommend submitting this feature request through official AWS channels such as AWS Support or the AWS feedback mechanisms, as product teams actively review customer feedback when planning feature enhancements. Your detailed use case and suggested implementation options would be valuable input for the product team to consider.
Sources
User pool managed login - Amazon Cognito
Essentials plan features - Amazon Cognito
Apply branding to managed login pages - Amazon Cognito
Relevant content
- asked 2 months ago
- asked 2 years ago

Thank you. Yes, that is exactly the gap I wanted to highlight.
Branding customization is helpful, but it does not solve indexing control for authentication-only pages.
My core point is simple: for Cognito Hosted UI / Managed Login under a custom auth domain, customers currently have no practical way to prevent search indexing.
Also, this does not seem like a difficult feature to implement. In fact, I do not think this even needs to be optional.
A very reasonable default would be to add
noindex, nofollowto the Hosted UI pages themselves, for example through a robots meta tag or anX-Robots-Tagresponse header.Authentication pages are not meant to be search destinations. If a login URL gets indexed by Google and appears in search results, the people who get confused first are the search users themselves. It may not always look like a major operational issue for the service owner, but it is still a poor default behavior for an authentication endpoint.
That is why I believe Cognito should handle this directly as part of the product, rather than leaving it entirely to customers who cannot actually control the Hosted UI response.
I would strongly encourage the product team to consider the simplest improvement: add
noindex, nofollowby default to Hosted UI / Managed Login pages.If there is already an official Cognito product feedback channel for this kind of request, I would appreciate a pointer.