8000 Add organization id claim to the access token by mzvankovich · Pull Request #32807 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

Add organization id claim to the access token - #32807

Closed
mzvankovich wants to merge 1 commit into
keycloak:mainfrom
mzvankovich:organization-id-claim
Closed

mzvankovich wants to merge 1 commit into
keycloak:mainfrom
mzvankovich:organization-id-claim

Conversation

@mzvankovich
Copy link
Copy Markdown

Add organization id claim to the access token

Closes #32746

@mzvankovich
mzvankovich requested a review from a team as a code owner September 11, 2024 12:18
Add organization id claim to the access token

Closes keycloak#32746

Signed-off-by: Maksim Zvankovich <m.zvankovich@nexovagroup.eu>
@ahus1
ahus1 commented Sep 11, 2024
Copy link
Copy Markdown
Member

@keycloak/core-iam - this might be of interest to you as it is related to Organizsations.

@sguilhen
sguilhen requested a review from vramik September 13, 2024 17:55
@sguilhen sguilhen left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Putting this on hold for the moment - simply adding the org ids to the access token right now is not a good option because org ids are not preserved when exporting/importing realms, so long lived tokens will end up referencing invalid organizations.

We're looking into fixing the export/import to preserve the ids before we can accept this PR.

@sguilhen
sguilhen commented Oct 2, 2024
Copy link
Copy Markdown
Contributor

I've made this configurable at the scope mapper (like the org attributes), added test and also updated docs. Closing this in favor of new PR #33495

@sguilhen sguilhen closed this Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add organization id to the organization claim of the access token

3 participants

0