- Newest
- Most votes
- Most comments
Based on your description, you're experiencing a "No access" error when trying to use IAM Identity Center with Keycloak as a SAML application, even though your users can successfully sign in to the AWS console.
Here are some troubleshooting steps you can take:
- Debug the SAML assertions: IAM Identity Center provides a way to examine the SAML assertions being sent. When you're signed into the AWS access portal:
- Hold down the Shift key
- Click on the Keycloak application tile
- Release the Shift key
- This will show you the "You are now in administrator mode" page with the SAML assertion details
- You can choose "Copy XML" to save this information for analysis
- Check for SAML attribute issues: The error might be related to missing or incorrect attributes in the SAML response. Common issues include:
- Missing required attributes in the SAML configuration
- Incorrect attribute mappings between IAM Identity Center and Keycloak
- Ensure the SAML response includes all necessary attributes with correct formatting
- Verify permission assignments: Make sure that:
- Your user is correctly assigned to the SAML application in IAM Identity Center
- The permission sets assigned to your user for this application are appropriate
- There are no conflicting policies or restrictions
-
Check session management: Since you mentioned using Entra ID (formerly Azure AD) as your identity source, be aware that IAM Identity Center does not support Single Logout (SLO) with external identity providers. This could potentially cause session-related issues.
-
Verify username requirements: In some cases, very short usernames (like one character) can cause issues with IAM Identity Center. Ensure your username meets any length requirements.
If you continue to experience issues, you might need to contact AWS Support for further assistance, as there could be an underlying configuration problem that's not immediately apparent.
Sources
No access error during access to Management Console from the Access Portal for an IAM Identity Center's user with AdministratorAccess &/| PowerUserAccess permission sets | AWS re:Post
Single Logout (SLO) support for IAM Identity Center with Entra ID SSO | AWS re:Post
Troubleshoot SAML federation with IAM - AWS Identity and Access Management
Troubleshooting IAM Identity Center issues - AWS IAM Identity Center
answered a year ago
Relevant content
- AWS OFFICIALUpdated 6 months ago
