Skip to content

OAuth Group Mapping Behavior - Combine #3814 and #3820 #3821

Merged
fhanik merged 3 commits intocloudfoundry:developfrom
fhanik:pr/3814-3820-combined-revert-roles-behavior
Apr 10, 2026
Merged

OAuth Group Mapping Behavior - Combine #3814 and #3820 #3821
fhanik merged 3 commits intocloudfoundry:developfrom
fhanik:pr/3814-3820-combined-revert-roles-behavior

Conversation

@fhanik
Copy link
Copy Markdown
Contributor

@fhanik fhanik commented Apr 9, 2026

Combine #3814 and #3820

Implement configurable role mapping behavior. The default is to align with SAML and LDAP, so that roles from the external IDP gets mapped into the id_token. Enabling login.oauth.externalGroupsFromMappedAuthorities: true will mimic v77 behavior, where roles become the internal UAA groups after mapping has been completed.

@strehle
Copy link
Copy Markdown
Member

strehle commented Apr 9, 2026

@fhanik FYI f52ee72

with the UAA internally mapped group names

Default behavior when this option is not set, is to align with LDAP and
SAML, and documented group mapping strategy.
@fhanik fhanik changed the title Combine #3814 and #3820 OAuth Group Mapping Behavior - Combine #3814 and #3820 Apr 9, 2026
@fhanik fhanik requested review from duanemay and strehle April 9, 2026 22:01
Copy link
Copy Markdown
Member

@strehle strehle left a comment

Choose a reason for hiding this comment

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

ok from my side , good compromise thanks

@github-project-automation github-project-automation bot moved this from Inbox to Pending Merge | Prioritized in Foundational Infrastructure Working Group Apr 10, 2026
@fhanik fhanik merged commit 9512182 into cloudfoundry:develop Apr 10, 2026
32 of 33 checks passed
@github-project-automation github-project-automation bot moved this from Pending Merge | Prioritized to Done in Foundational Infrastructure Working Group Apr 10, 2026
@fhanik fhanik deleted the pr/3814-3820-combined-revert-roles-behavior branch April 10, 2026 16:04
fhanik added a commit to fhanik/uaa-release that referenced this pull request Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

Regression after v78 upgrade: external OAuth token roles use raw IdP groups instead of mapped UAA authorities

3 participants