mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-11 08:15:00 -05:00
Support Custom Roles/Claims with OIDC #2366
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 @ncecere on GitHub (Oct 12, 2024).
Adding the ability to define and pass in custom claims for auth would enable AuthZ support for the application. Login and access could be scoped to a subset of users instead of an entire organization. This could also be used with the #2924 request since user could be assigned to specific groups at login instead of being assigned by administrators.
@hubby2004 commented on GitHub (Oct 12, 2024):
This will be a great feature if we can restrict access based on a specific attribute and its value. For instance, we can release an eduPersonEntitlement attribute as part of the OIDC flow and have the open webui allow only those whose eduPersonEntitlement value contains a specific string. EduPersonEntitlement is a multi value attribute so supporting a list solves the issue of single and multi value attributes.
@ncecere commented on GitHub (Oct 12, 2024):
I think it would need to be added around here but I'm not 100% sure. And think this would also solve the feature in #4858 that @atnjqt opened.