Files
open-webui/backend/open_webui
Classic298 3a1a993981 fix: MCP OAuth 2.1 setup fails when the auth server sends very large response headers (#34084)
* fix: MCP OAuth 2.1 setup fails when the auth server sends very large response headers

Adding an MCP server with OAuth 2.1 failed with "Connection error" when its authorization server sent a single response header over 8 KB, which monday.com does with an 11 KB Content-Security-Policy on every OAuth endpoint. Setting up these servers and refreshing their tokens now works, with single headers accepted up to 64 KB.

Fixes #34078

* fix: raise the MCP OAuth header limit only where setup needs it

The check that runs before client registration already moves on when it cannot read a response, so it keeps the default header limit. The larger limit now stays on the requests that broke setup and token refresh.
2026-11-16 22:42:48 +09:00
..
2026-11-02 08:48:51 +09:00
2026-11-08 11:52:13 +09:00
2026-11-16 22:16:34 +09:00
2026-11-13 22:40:53 +09:00
2026-11-02 09:59:00 +09:00
2026-10-05 12:03:19 +04:00
2026-11-12 13:39:35 +09:00
2026-11-13 17:36:00 +09:00
2026-11-02 08:48:51 +09:00
2026-11-08 12:24:29 +09:00
2026-11-03 16:25:23 +09:00
2026-11-13 17:36:00 +09:00
2026-11-02 08:48:51 +09:00