You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Identity Provider Mappers - organization group targets do not resolve #52193
I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.
Area
organizations
Describe the bug
Mappers "Advanced Claim to Group", "Hardcoded Group" with groupType: ORGANIZATION does NOT work.
Whether target is root or a nested path has no impact
Switching the target to a realm group DOES work.
Version
26.7.2
Regression
The issue is a regression
Expected behavior
When mapper matches, user should be added to the organization group.
Actual behavior
The claim key/value matches, user is NOT added to the target organization group.
There is a log entry:
2026-08-28 19:12:03,632 WARN [org.keycloak.models.utils.KeycloakModelUtils]
Unable to find group by path '/rbac/cloud-admin'
referenced by mapper 'test-org-group' on realm 'vigil-identity'.
How to Reproduce?
Pre-requisite: Require Organization linked to an IDP
Could you please confirm whether:
idp mapper belongs to idp linked the organization
organizations are enabled
group /rbac/cloud-admin exists in the organization
group mapper has correctly configured groupType: ORGANIZATION
Yes, all true.
We have a dozen or so organizations.
The mapper UI was used to create the mapper, it rendered the list of org groups and selection. This proves the first 3 are correct. Also, I’ve confirmed in the persisted model that the group type is ORG.
Activity
Tungsten78 commentedon Aug 28, 2026
@vramik - relates to #46735 and #45512
vramik commentedon Aug 31, 2026
Thank you @Tungsten78 for the report. I am having hard time to reproduce it. Could you please confirm whether:
/rbac/cloud-adminexists in the organizationgroupType: ORGANIZATIONThanks a lot
keycloak-github-bot commentedon Aug 31, 2026
Thanks for reporting this issue, but there is insufficient information or lack of steps to reproduce.
Please provide additional details, otherwise this issue will be automatically closed within 14 days.
Tungsten78 commentedon Aug 31, 2026
@vramik
Yes, all true.
We have a dozen or so organizations.
The mapper UI was used to create the mapper, it rendered the list of org groups and selection. This proves the first 3 are correct. Also, I’ve confirmed in the persisted model that the group type is ORG.
26 remaining items
Backfill `KEYCLOAK_GROUP.ORG_ID` for existing organizations (#52628)
Backfill `KEYCLOAK_GROUP.ORG_ID` for existing organizations