8000 Keycloak account api endpoint /accounts/credentials CORS issue · keycloak keycloak · Discussion #43403 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote

Okay, I found the issue. The Account API apparently requires now that the keycloak "roles" and "origins" be included in the bearer access token. I recently removed these claims from the access token to avoid information leakage, but it seems from Keycloak 26+ this is required.

So, in order to solve this, I had to go to Client Scopes, find the web-origins and ensure in the Mappers that the value was added to the access token. Similarly, to the roles scope, and find the Client Roles mapper.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by camilo-uran
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