mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-11 10:34:13 -05:00
[PR #19165] [CLOSED] fix: pass token_endpoint_auth_method when creating an oauth client #79987
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/19165
Author: @xqqp
Created: 11/13/2025
Status: ❌ Closed
Base:
dev← Head:patch-3📝 Commits (2)
4dfdf27fix: pass token_endpoint_auth_method when creating an oauth client7b59b09fix: pass token_endpoint_auth_method when creating an oauth client📊 Changes
1 file changed (+8 additions, -3 deletions)
View changed files
📝
backend/open_webui/utils/oauth.py(+8 -3)📄 Description
AuthLib defaults to using basic auth when
token_endpoint_auth_methodhas not been configured. This PR passestoken_endpoint_auth_methodwhen creating an OAuth client. Without thisauthorize_access_token()fails if the OAuth server does not accept basic auth as an authentication method.Changelog Entry
Fixed
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.