[PR #10366] [MERGED] Fix: Add nested claim search for group oauth management #22511

Closed
opened 2026-04-20 04:12:10 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/10366
Author: @tarmst
Created: 2/19/2025
Status: Merged
Merged: 2/19/2025
Merged by: @tjbck

Base: devHead: fix-no-nested-claims-for-group-oauth


📝 Commits (1)

  • efe3bca Add nested claim search for groups oauth claim

📊 Changes

1 file changed (+8 additions, -1 deletions)

View changed files

📝 backend/open_webui/utils/oauth.py (+8 -1)

📄 Description

Pull Request Checklist

Intended to fix issue here: https://github.com/open-webui/open-webui/issues/7102#issuecomment-2668393339

Before submitting, make sure you've checked the following:

  • Target branch: Please verify that the pull request targets the dev branch.
  • Description: Provide a concise description of the changes made in this pull request.
  • Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
  • Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
  • Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
    • None
  • Testing: Have you written and run sufficient tests for validating the changes?
    • Tested with nested groups claim & non-nested groups claim for expected behavior.
    • To test, I had to remove the firecrawl dependency from the backend's requirements.txt to build the docker image. See here: https://github.com/open-webui/open-webui/pull/10347
  • Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
  • Prefix: To cleary categorize this pull request, prefix the pull request title, using one of the following:
    • fix: Bug fix or error correction

Changelog Entry

Description

  • Fixed oauth group management being unable to search for the groups claim in nested user data. This should not impact non-nested user data received from oauth.

Fixed

  • Fixed oauth group management being unable to search for the groups claim in nested user data.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/10366 **Author:** [@tarmst](https://github.com/tarmst) **Created:** 2/19/2025 **Status:** ✅ Merged **Merged:** 2/19/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `fix-no-nested-claims-for-group-oauth` --- ### 📝 Commits (1) - [`efe3bca`](https://github.com/open-webui/open-webui/commit/efe3bca19e4d564d3de2387ed90f80a0ed88a94a) Add nested claim search for groups oauth claim ### 📊 Changes **1 file changed** (+8 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/utils/oauth.py` (+8 -1) </details> ### 📄 Description # Pull Request Checklist Intended to fix issue here: https://github.com/open-webui/open-webui/issues/7102#issuecomment-2668393339 **Before submitting, make sure you've checked the following:** - [x] **Target branch:** Please verify that the pull request targets the `dev` branch. - [x] **Description:** Provide a concise description of the changes made in this pull request. - [x] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description. - [x] **Documentation:** Have you updated relevant documentation [Open WebUI Docs](https://github.com/open-webui/docs), or other documentation sources? - [x] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation? - None - [x] **Testing:** Have you written and run sufficient tests for validating the changes? - Tested with nested groups claim & non-nested groups claim for expected behavior. - To test, I had to remove the firecrawl dependency from the backend's `requirements.txt` to build the docker image. See here: https://github.com/open-webui/open-webui/pull/10347 - [x] **Code review:** Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards? - [x] **Prefix:** To cleary categorize this pull request, prefix the pull request title, using one of the following: - **fix**: Bug fix or error correction # Changelog Entry ### Description - Fixed oauth group management being unable to search for the groups claim in nested user data. This should not impact non-nested user data received from oauth. ### Fixed - Fixed oauth group management being unable to search for the groups claim in nested user data. --- --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-20 04:12:10 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#22511