8000 OIDC hardcoded claim mapper for `azp` · keycloak keycloak · Discussion #50023 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote

Using a hardcoded claim mapper to override azp is intentional functionality in Keycloak, not a bug or an undocumented workaround. Protocol mappers are the supported extension point for customizing token claims, and the fact that they can override standard OIDC claims like azp is by design.

That said, a few things worth noting for your specific case:

Will it be "patched out"?
Unlikely. Keycloak's mapper pipeline processes all mappers in priority order, and allowing overrides of standard claims is intentional. If this were restricted, it would break many legitimate customization scenarios. The Keycloak team would need a strong security reason to block it.

Potential fragility to watch for:

  • I…

Replies: 1 comment

Comment options

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