mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #18982] [CLOSED] feat: support for semicolon-separated OAuth group claims #25045
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/18982
Author: @rndmcnlly
Created: 11/6/2025
Status: ❌ Closed
Base:
dev← Head:feat/oauth-groups-separator📝 Commits (1)
96b98cdfeat: add OAUTH_GROUPS_SEPARATOR for configurable group parsing📊 Changes
2 files changed (+8 additions, -1 deletions)
View changed files
📝
backend/open_webui/config.py(+2 -0)📝
backend/open_webui/utils/oauth.py(+6 -1)📄 Description
Description
This PR implements support for semicolon-separated OAuth group claims, addressing issue #18979.
Changes
Use Case
Many OIDC providers like CILogon (supporting thousands of universities worldwide) return group membership as semicolon-separated strings in the affiliation claim (e.g., Faculty@ucsc.edu;Employee@ucsc.edu;Member@ucsc.edu).
Previously, this was treated as a single monolithic group name. Now it's properly parsed into individual groups.
Configuration
Users can customize the separator via the OAUTH_GROUPS_SEPARATOR environment variable (defaults to semicolon).
Fixes #18979
I agree to the contributor license agreement.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.