跳至內容

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!

已提問 3 個月前檢視次數 51 次
1 個回答
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

專家
已回答 3 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。