Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

identity/oidc: use inherited group membership for client assignments #14013

Merged
merged 2 commits into from
Feb 11, 2022

Conversation

austingebauer
Copy link
Contributor

Overview

This PR uses inherited group membership when evaluating client assignments during an OIDC flow.

Given the following group membership tree:

Group A
└── Group B
    └── Entity A

If Entity A authenticates through a client with an assignment that has Group A in its group_ids, the assignment membership check will be satisfied by group inheritance.

Fixes #14005

Testing

I added a test to this PR which sets up a similar scenario to the one explained above.

Copy link
Contributor

@calvn calvn left a comment

Choose a reason for hiding this comment

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

Looks good! Can we include a changelog entry for this bug fix?

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.

OIDC Provider: "assignments" do not honor inherited groups
3 participants