Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cognito-Azure Entra ID Federation Fails Due to Missing Custom Attribute Mapping #636

Open
savinof opened this issue Feb 27, 2025 · 0 comments

Comments

@savinof
Copy link

savinof commented Feb 27, 2025

Issue

Federation between Cognito and Azure Entra ID fails with SAML response error due to missing custom attribute chatbot_role in Cognito.

Error Message

Invalid SAML response received: Invalid user attributes: Type for attribute {custom:chatbot_role} could not be determined

Current Behavior

  • Federation authentication fails
  • Error appears response header
  • Manual intervention required to add chatbot_role custom attribute in Cognito

Root Cause

The custom attribute chatbot_role is expected in the SAML response mapping but was not pre-configured in Cognito user pool.

Resolution

Manually added chatbot_role custom attribute in Cognito user pool configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant