Files
open-webui/backend/open_webui/routers
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-13 17:36:00 +09:00
2026-11-16 15:16:21 +09:00
2026-11-02 08:48:51 +09:00
2026-11-08 19:06:43 +09:00
2026-11-14 00:45:43 +09:00
2026-11-02 08:48:51 +09:00
2026-11-09 16:04:13 +09:00
2026-11-09 15:54:43 +09:00
2026-11-02 08:48:51 +09:00
2026-11-02 08:48:51 +09:00
2026-11-14 00:45:43 +09:00
2026-11-02 08:48:51 +09:00
2026-11-02 08:48:51 +09:00
2026-11-08 12:56:55 +09:00
2026-11-08 19:00:46 +09:00
2026-11-02 08:48:51 +09:00
2026-11-13 17:36:00 +09:00
2026-11-09 16:04:13 +09:00
2026-10-31 16:50:01 +09:00
2026-11-13 17:36:00 +09:00
2026-11-02 08:48:51 +09:00
2026-11-02 08:48:51 +09:00
2026-11-08 12:08:18 +09:00
2026-11-05 13:57:52 +09:00
2026-11-13 17:36:00 +09:00
2026-11-16 21:10:30 +09:00
2026-11-16 21:10:30 +09:00
2026-11-13 17:36:00 +09:00
2026-11-16 13:15:49 +09:00
2026-09-06 17:27:30 -04:00