mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #19902] [MERGED] fix: Sync OAuth configs #48431
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/19902
Author: @taylorwilsdon
Created: 12/12/2025
Status: ✅ Merged
Merged: 12/14/2025
Merged by: @tjbck
Base:
dev← Head:sync_oauth_configs📝 Commits (2)
0b5e64aensure from config65bca28Merge branch 'dev' of github.com:taylorwilsdon/open-webui into sync_oauth_configs📊 Changes
1 file changed (+49 additions, -2 deletions)
View changed files
📝
backend/open_webui/utils/oauth.py(+49 -2)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch. Not targeting thedevbranch will lead to immediate closure of the PR.Changelog Entry
Description
Added
ensure_client_from_config) inOAuthClientManagerthat reconstructs MCP OAuth clients fromTOOL_SERVER_CONNECTIONSwhen absent on a given node.Changed
Deprecated
Removed
Fixed
/oauth/clients/mcp:{id}/authorize/callback when hitting a node that lacked the in-memory registration.Security
Breaking Changes
Additional Information
No new dependencies; no docs changes needed.
[Attach any relevant screenshots or videos demonstrating the changes]
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.