mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-05 00:39:38 +03:00
🚀 Feature: Per-client group mappings #566
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jc0b on GitHub (Dec 13, 2025).
Feature description
It should be possible to map group names to different values in the
groupsclaim.So, if you had a group in Pocket ID with name
app_proxmox_admin, you would be able to (in the OIDC client settings) be able to specify that it should be passed with a different name through in thegroupsclaim.Pitch
Some applications expect specific groups to be passed in the groups claim for roles. For example, they expect that you are a member of the group
adminto give you an admin role.If you have a naming convention, then you suddenly have to break from this convention for one app. This could be circumvented with the mappings.
@stonith404 commented on GitHub (Dec 21, 2025):
Tbh this feels like something that should be addressed on the OIDC client side. All OIDC clients I'm using allow you to configure which group users need to belong to in order to receive admin privileges, and that’s the correct place for this logic.
Implementing it on our side would essentially mean introducing a workaround for a design issue in the client rather than solving the root cause. Because of that, we don’t plan to implement this.