clawsmith.com/signal/keycloak-role-attribute-mapper
โ IssueWide Opendev_tool_cliLive
Keycloak cannot map role-level attributes into OIDC token claims after script mapper removal
Keycloak roles support arbitrary attributes (key-value metadata) but there is no built-in protocol mapper to include those attributes in OIDC ID tokens or userinfo responses. Script mappers that could implement this were removed in Keycloak 18+. The maintainer (stianst) explicitly stated they would not be against a community contribution but Keycloak core will not ship this natively. No packaged SPI extension exists on GitHub, Maven, or Docker Hub that adds a Role Attribute mapper type as a drop-in jar.
Product Idea from this Signal
A CLI tool and SPI extension that maps Keycloak role attributes into OIDC token claims automatically
104 โฒkeycloakoidcspiprotocol-mapperrole-attributestoken-claimsidentityauthjavacli
Competitive20 leadsView Opportunity โ
Score Breakdown
GitHub
104
Social Proof 1 sources
Gap Assessment
Wide OpenNo dedicated solution exists
Maintainer explicitly deferred to community contribution; script mappers removed in KC 18+ eliminated the workaround; no packaged SPI jar ships this; gap for a drop-in Keycloak SPI that adds Role Attribute protocol mapper
Virality Score
104
across 0 platforms
Details
Signalissue
Ecosystemdev_tool_cli
Sources1
Platforms0
Updatedunknown
Trendโ stable
Top ideas
All ideas โ