[GH-ISSUE #12449] feat: LDAP Group-Based Authorization in OpenWebUI #103602

Closed
opened 2026-05-18 01:06:00 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @codespg on GitHub (Apr 4, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12449

Check Existing Issues

  • I have searched the existing issues and discussions.

Problem Description

The LDAP configuration in OpenWebUI currently supports only authentication, allowing users to log in with their LDAP credentials. However, it does not extend to authorization, meaning there’s no way to leverage LDAP group memberships for access control within the platform.

Desired Solution you'd like

I’d like to request an enhancement to integrate LDAP group-based authorization into OpenWebUI. This would include the following capabilities:

Group Configuration: Allow administrators to define groups in OpenWebUI and map them to existing LDAP groups.
Automatic Group Assignment: Upon login (via SSO, password, LDAP, or other methods), automatically assign users to their corresponding OpenWebUI groups based on their LDAP group memberships.
Model Access Control: Use these group assignments to restrict model visibility and interaction, so users only see and access the models they are authorized for.

Alternatives Considered

Alternative:
Similar to OAuth Group Management, create new Trusted Header variable to get list of Groups - User should be part of.
https://docs.openwebui.com/features/sso#oauth-group-management

Additional Context

No response

Originally created by @codespg on GitHub (Apr 4, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/12449 ### Check Existing Issues - [x] I have searched the existing issues and discussions. ### Problem Description The LDAP configuration in OpenWebUI currently supports only authentication, allowing users to log in with their LDAP credentials. However, it does not extend to authorization, meaning there’s no way to leverage LDAP group memberships for access control within the platform. ### Desired Solution you'd like I’d like to request an enhancement to integrate LDAP group-based authorization into OpenWebUI. This would include the following capabilities: Group Configuration: Allow administrators to define groups in OpenWebUI and map them to existing LDAP groups. Automatic Group Assignment: Upon login (via SSO, password, LDAP, or other methods), automatically assign users to their corresponding OpenWebUI groups based on their LDAP group memberships. Model Access Control: Use these group assignments to restrict model visibility and interaction, so users only see and access the models they are authorized for. ### Alternatives Considered Alternative: Similar to OAuth Group Management, create new Trusted Header variable to get list of Groups - User should be part of. https://docs.openwebui.com/features/sso#oauth-group-management ### Additional Context _No response_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#103602