mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-17 07:46:16 -05:00
[PR #24027] [CLOSED] fix: update OAuth metadata discovery flow according to spec #98521
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/24027
Author: @kien-truong
Created: 4/23/2026
Status: ❌ Closed
Base:
dev← Head:fix-missing-oauth-uri📝 Commits (2)
52d5e8efix: add missing well-known URLs for Oauth service discovery5dbdc68fix: reimplement authorization server well-known url to specs📊 Changes
2 files changed (+120 additions, -54 deletions)
View changed files
➕
backend/open_webui/test/util/test_oauth.py(+36 -0)📝
backend/open_webui/utils/oauth.py(+84 -54)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch. PRs targetingmainwill be immediately closed.devto ensure no unrelated commits (e.g. frommain) are included. Push updates to the existing PR branch instead of closing and reopening.Changelog Entry
Description
According to section 4.2 of MCP Authorization Spec, the following well-known URIs should be tested for authorization metadata:
Fixed
Contributor License Agreement
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.