8000 CODE_TO_TOKEN_ERROR when connecting Keycloak as OIDC Identity Provider for AWS Q Business app · keycloak keycloak · Discussion #40469 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote

If someone ever faces this issue in the future, the correct configuration in Keycloak is:

  1. Go to your Client, Client Scopes and click on the dedicated client scope link, I think the name always follow the convention "client-name-dedicated".
  2. Create a new mapper “by configuration” of type “User Attribute”. Relevant values are:
    User Attribute  = email
    Token Claim Name = https://aws\.amazon\.com/tags.principal_tags.Email
    Claim JSON Type = String
    Add to ID Token = On
    Add to Access Token = On
    Multivalued = On
    Aggregate attribute values = On
    

With that configuration, we were able to use Keycloak as an identity provider for our AWS Q Business App.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jose-hernandez2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
0