- Newest
- Most votes
- Most comments
The fix was to go to App clients -> App client: <App Client Name> -> Edit managed login pages configuration and select an Identity Provider from the "Identity providers" dropdown list.
It appears you may be encountering a common issue with Amazon Cognito's Managed Login feature. The absence of the external Identity Provider (IdP) button on the login page and the missing "Foundation" > "Authentication behavior" option in the style configuration suggest that there might be a few steps or configurations that need to be addressed.
First, ensure that you have properly set up a domain for your user pool. This is a crucial step for enabling the Managed Login pages. Without a domain, the pages for Managed Login won't be set up, and you won't see the options for external IdPs.
Next, verify that you have correctly assigned the external IdP (in this case, your OIDC provider) to the app client you're using. The external IdP needs to be explicitly associated with the app client for it to appear as an option on the login page.
It's also important to note that you can't sign in federated users using API operations like InitiateAuth and AdminInitiateAuth. Federated users can only sign in through the Login endpoint or the Authorize endpoint.
If you're using the Authorize endpoint, be aware that it's a redirection endpoint. If you provide an idp_identifier or identity_provider parameter in your request, it will redirect silently to your IdP, bypassing the Managed Login interface. This could explain why you're not seeing the button for the external IdP.
Regarding the missing "Foundation" > "Authentication behavior" option, this could be related to the specific version of the Managed Login UI you're using. Make sure you're using the latest version of the Managed Login UI, as older versions might not have all the customization options.
If you've verified all these steps and are still not seeing the expected options or behavior, it may be worth reaching out to AWS support for further assistance, as there could be account-specific settings or recent changes to the service that aren't reflected in the documentation.
Remember, while Managed Login offers a standardized authentication experience, it does have limitations in terms of customization. If you require more control over the authentication process, you might need to consider implementing a custom authentication UI or using the Amazon Cognito API directly.
Sources
User pool sign-in with third party identity providers - Amazon Cognito
Displaying error message in Cognito managed login sign-in page | AWS re:Post
Configure authentication methods for managed login - Amazon Cognito
answered 2 years ago
Relevant content
asked 4 years ago
