Skip to content

Added an OIDC AllowGroups option for authorization.#1041

Merged
kradalby merged 1 commit intojuanfont:mainfrom
newellz2:main
Dec 7, 2022
Merged

Added an OIDC AllowGroups option for authorization.#1041
kradalby merged 1 commit intojuanfont:mainfrom
newellz2:main

Conversation

@newellz2
Copy link
Copy Markdown
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
Copy Markdown
Collaborator

kradalby commented Dec 5, 2022

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

@newellz2 newellz2 force-pushed the main branch 2 times, most recently from 672b2a6 to 6db4263 Compare December 5, 2022 22:07
@newellz2
Copy link
Copy Markdown
Contributor Author

newellz2 commented Dec 5, 2022

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

Comment thread CHANGELOG.md Outdated

### Changes

- Added an OIDC AllowGroups Configuration options and authorization check [#1041](https://github.com/juanfont/headscale/pull/1041)
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown

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