mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-09 14:42:59 +03:00
🚀 Feature: Groups #504
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 @schlaggi on GitHub.
Feature description
You may have that on your todo list, but it would be great to have groups.
Pitch
I would like to put users in those groups and want the groups to be populated in the groups field via OIDC so that those groups will be recognized and honored by the OIDC client to eg. automatically grant specific rights.
But keep your minimalist approach. I love it.
@larsassink commented on GitHub:
+1
@stonith404 commented on GitHub:
Currently I'm really busy but I've started with this feature and it has the highest priority at the moment.
@danielgraycode commented on GitHub:
+1 to this too. Just trying out PocketID and seems promising, groups would help ease any transition from another auth provider!
@stonith404 commented on GitHub:
Thanks for the suggestion, that's probably a must-have feature.
@larsassink commented on GitHub:
Any updates on this? @stonith404
@stonith404 commented on GitHub:
I've finished the first version of user groups. Could you try the the
stonith404/pocket-id:developmentimage and give me feedback on the implementation?It probably contains some bugs as I didn't completely finished it yet but it would be nice if I get some feedback. Thanks :)
@larsassink commented on GitHub:
Tested it extensively with multiple projects. So far, no errors and everything works like it should be!
@stonith404 commented on GitHub:
I forgot to mention that it is required to add the
groupsscope to the configuration of the OIDC client. Only when you add this scope, the groups will be returned.In Cloudflare Zero Trust the configuration would look like this:

@stonith404 commented on GitHub:
Great, thank you for testing! It should now be available in
v0.6.0.@schlaggi commented on GitHub:
I tested it with Portainer and it worked flawlessly.
I‘ll try to do more testing.
Thank you!
@ovizii commented on GitHub:
Sorry, I may be too tired, a few lines below I found:
Any idea why groups is not listed here?
@ovizii commented on GitHub:
I'm on 0.35.5 and if I access https://my.pocket.id.tld/.well-known/openid-configuration I see:
I understand these are claims, not scopes but is there a similar URL to check the supported scopes?