mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #9620] [MERGED] feat: Adding debug logs for oauth role & group management #22396
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/9620
Author: @tarmst
Created: 2/7/2025
Status: ✅ Merged
Merged: 2/7/2025
Merged by: @tjbck
Base:
dev← Head:add-oauth-debug-logs📝 Commits (1)
85912d7Adding debug logs for oauth role & group management📊 Changes
2 files changed (+24 additions, -0 deletions)
View changed files
📝
backend/open_webui/env.py(+1 -0)📝
backend/open_webui/utils/oauth.py(+23 -0)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Added logging to oauth role & group management so that users may swap logging levels to debug to see if groups/roles are available and if they are added to users.
Added
OAUTH_LOG_LEVELSecurity
Testing logs
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.