[GH-ISSUE #2221] Implement OIDC groups claim #6602

Open
opened 2026-04-20 17:12:04 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @winkelement on GitHub (Feb 10, 2026).
Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/2221

Pre-submission checklist

  • I have searched for existing open or closed issue reports with the same feature request.

Description

I would be nice to see an implementation of oidc groups claim and scope.

This would enable further implementation of features like automatic group membership and global "whitelist" for specific groups.

Vikunja uses a custom claim vikunja_groups right now which requires customization of the provider which is not always possible.

Using the de-facto standard groups for... well... groups (almost all implementations i encountered use this for group mapping) would enable compatibility with a lot of providers out of the box, for example Google (via dex, this is my usecase).
https://dexidp.io/docs/configuration/custom-scopes-claims-clients/

Which alternatives did you consider using instead?

No response

Originally created by @winkelement on GitHub (Feb 10, 2026). Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/2221 ### Pre-submission checklist - [x] I have searched for existing open or closed issue reports with the same feature request. ### Description I would be nice to see an implementation of oidc `groups` claim and scope. This would enable further implementation of features like automatic group membership and global "whitelist" for specific groups. Vikunja uses a custom claim `vikunja_groups` right now which requires customization of the provider which is not always possible. Using the de-facto standard `groups` for... well... _groups_ (almost all implementations i encountered use this for group mapping) would enable compatibility with a lot of providers out of the box, for example Google (via dex, this is my usecase). https://dexidp.io/docs/configuration/custom-scopes-claims-clients/ ### Which alternatives did you consider using instead? _No response_
GiteaMirror added the area/permissionsarea/auth labels 2026-04-20 17:12:04 -05:00
Author
Owner

@gabeklavans commented on GitHub (Apr 6, 2026):

My guess is this would be tricky considering it seems that Vikunja relies on the oidcID value in the claim to disambiguate. I'm assuming the values in the groups claim would just be text strings, so Vikunja would have to figure out a way to handle the case where there may be multiple teams with the same name but different internal IDs

<!-- gh-comment-id:4192776421 --> @gabeklavans commented on GitHub (Apr 6, 2026): My guess is this would be tricky considering it seems that Vikunja relies on the oidcID value in the claim to disambiguate. I'm assuming the values in the `groups` claim would just be text strings, so Vikunja would have to figure out a way to handle the case where there may be multiple teams with the same name but different internal IDs
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#6602