1
[Feature] Support oauth group check for admin/user
Source: immich-app/immich#29785 · opened by @GankuShi
I have searched the existing feature requests, both open and closed, to make sure this is not a duplicate request.
• Yes
The feature
Immich currently does support OAuth login, but requires a custom claim for determining if a user is an admin or user. It would be valuable if immich could take in a groups claim and determine if the user is admin based on if a user is apart of the entered group.
It would require immich to know which claim has the list of groups, and which group asserts admin.
Ie:
Voidauth at the moment does support "groups" scope, which does send the following claim:
"groups": ["group1", "group2"]
It'd be wonderful is immich could parse that the user is apart "group2" and assign them admin.
Platform
• Server
• Web
• Mobile
• Yes
The feature
Immich currently does support OAuth login, but requires a custom claim for determining if a user is an admin or user. It would be valuable if immich could take in a groups claim and determine if the user is admin based on if a user is apart of the entered group.
It would require immich to know which claim has the list of groups, and which group asserts admin.
Ie:
Voidauth at the moment does support "groups" scope, which does send the following claim:
"groups": ["group1", "group2"]
It'd be wonderful is immich could parse that the user is apart "group2" and assign them admin.
Platform
• Server
• Web
• Mobile
No pledges yet. Be the first to back this.
Comments
Similar requests
[Feature] allow Oauth-only internet facing login screen, while still allowing user&pw on internal url
8 votes · 0 comments
[Feature] Support providing OAuth client ID and secret via environment variables
1 vote · 0 comments
[Feature] Trusted Local Provisioning for Immich
1 vote · 0 comments
Discord OAuth: "userinfo_endpoint must be configured on the issue
1 vote · 0 comments
[Feature]: User Groups for sharing/permissions
140 votes · 0 comments
No comments yet.