[Enhancement]: Support GROUP instead with ROLE in Keycloak #8989
mgm-hqtran
started this conversation in
Feature Requests & Suggestions
Replies: 1 comment
-
Feel free to submit a PR if you have a solution |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What features would you like to see added?
Add support for OPENID_REQUIRED_GROUP in Keycloak authentication configuration.
Behavior: If set, the system checks the user’s group membership before allowing login.
More details
Currently, LibreChat only supports OPENID_REQUIRED_ROLE for verifying user login with SSO in Keycloak (as documented here).
However, in our setup, we rely on Keycloak Groups rather than Roles to manage access, this is consistent with how other systems in our environment (e.g., Bitbucket, Jenkins) handle permissions.
It would be great to have an additional configuration option, for example:
OPENID_REQUIRED_GROUP=<group_name>
This would allow LibreChat to verify logins against a required Keycloak Group instead of (or in addition to) a Role.
Benefits:
Thanks
Which components are impacted by your request?
No response
Pictures
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions