mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #19193] feat: Support token_endpoint_auth_methods_supported = client_secret_basic for remote MCP #57469
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?
Originally created by @molnarg on GitHub (Nov 15, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/19193
Check Existing Issues
Verify Feature Scope
Problem Description
I'm trying to integrate OpenWebUI with an MCP server that only supports this, and not client_secret_post.
Ther server's discovery doc: https://mcp.athom.com/.well-known/oauth-authorization-server
{"issuer":"https://mcp.athom.com","authorization_endpoint":"https://mcp.athom.com/oauth2/authorise","token_endpoint":"https://mcp.athom.com/oauth2/token","registration_endpoint":"https://mcp.athom.com/oauth2/client","response_types_supported":["code"],"response_modes_supported":["form_post"],"grant_types_supported":["authorization_code","refresh_token"],"token_endpoint_auth_methods_supported":["client_secret_basic"]}I think the root cause might be the hardcoded
client_secret_postvalue ate0d5de1697/backend/open_webui/utils/oauth.py (L283)Desired Solution you'd like
Detect this registration method, and use it when it's the only one available.
Alternatives Considered
No response
Additional Context
No response
@cutec-chris commented on GitHub (Nov 16, 2025):
+1
@tjbck commented on GitHub (Nov 19, 2025):
Should be addressed with
0c47cbd16ain dev, testing wanted here!@tcs-christian-ulrich commented on GitHub (Nov 19, 2025):
i will try to test this evening, thanks for the fast reaction :)
@cutec-chris commented on GitHub (Nov 19, 2025):
it works for connection now