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

Added an OIDC AllowGroups option for authorization. #1041

Merged
merged 1 commit into from
Dec 7, 2022

Conversation

newellz2
Copy link
Contributor

@newellz2 newellz2 commented Dec 5, 2022

Added an additional OIDC configuration option for a 'groups' claim. The allowed_groups config option is another OIDC authorization option. I tested this with Keycloak by adding a group membership client scope to the OIDC provider.

@kradalby
Copy link
Collaborator

kradalby commented Dec 5, 2022

This looks reasonable, can you add a CHANGELOG.md entry?

@newellz2
Copy link
Contributor Author

newellz2 commented Dec 5, 2022

@kradalby I added a CHANGELOG.md entry. Let me know if I need to do anything else!

CHANGELOG.md Outdated
@@ -10,6 +10,7 @@

### Changes

- Added an OIDC AllowGroups Configuration options and authorization check [#1041](https://github.com/juanfont/headscale/pull/1041)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Good, could you just move it up to 0.18.x?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You got it! I just amended the commit.

@kradalby kradalby merged commit 70f2f5d into juanfont:main Dec 7, 2022
@yangboyd
Copy link

yangboyd commented Dec 13, 2022

a group membership client scope
@newellz2
How to add a group membership client scope in keycloak?

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.

3 participants