Skip to content

Cognito User Pool Hosted UI "Login pages unavailable" Error Despite Correct Configuration

0

I'm experiencing a persistent "Login pages unavailable. Please contact an administrator." error with my Cognito User Pool hosted UI, despite having what appears to be a correct configuration.

Configuration Details:

Current Status:

  • Domain status: Active/Available
  • App client status: Available
  • Managed login pages configuration: Status shows "Available"
  • All OAuth settings properly configured

Issue: When clicking "View login page" in the console or accessing the login URL directly, I get "Login pages unavailable. Please contact an administrator."

Troubleshooting Attempted:

  1. Cleared browser cache and tried incognito mode
  2. Tested direct login URLs with proper OAuth parameters
  3. Verified all configuration settings multiple times
  4. Waited for propagation delays (several hours)
  5. Confirmed domain responds (base URL returns "Missing Authentication Token" as expected)
  6. Verified identity provider is properly selected in app client settings

Observations:

  • The domain itself is functional (responds to requests)
  • Configuration appears identical to working setups
  • Error persists across different browsers and networks
  • Issue started immediately after initial setup

Has anyone encountered this specific error with properly configured Cognito hosted UI? Are there any hidden configuration requirements or service-level issues that could cause this?

Any insights would be greatly appreciated!

asked 2 months ago45 views
1 Answer
0

The ‘Login pages unavailable’ error in the Amazon Cognito Hosted UI generally signifies a misconfiguration within the domain or app client settings, even when the console indicates that the domain is active. According to AWS documentation, issues related to domain configuration, callback URL alignment, or identity provider selection are common underlying causes of this error.

https://docs.aws.amazon.com/cognito/latest/developerguide/troubleshooting.html

https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-managed-login.html

EXPERT
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.