Files
open-webui/backend/open_webui/utils
Classic298 cd64930c05 fix: MCP OAuth sign-in fails with a state error when the server asks for many scopes (#31894)
Connecting an MCP tool server over OAuth 2.1 failed after signing in at the provider with an "invalid or expired state" error whenever the server advertises a long list of scopes, such as the Google Workspace MCP server with its 42 Google scopes. Open WebUI saved the full authorization link it sends to the provider in the session cookie, which pushed the cookie past the 4096-byte browser limit, so the browser dropped it and Open WebUI could not recognise the user when the provider sent them back. The link is no longer saved there, so the cookie stays at a few hundred bytes even with long scope lists.

Fixes #26382
2026-10-03 17:04:50 +04:00
..
2026-09-21 11:35:30 -04:00
2026-10-01 03:31:20 +04:00
2026-08-24 18:29:36 -04:00
2026-09-19 17:54:09 -04:00
2026-03-17 17:58:01 -05:00
2026-07-23 02:54:56 -04:00
2026-07-26 21:12:14 -04:00
2026-07-31 17:41:14 -04:00
2026-08-23 13:36:53 -04:00
2026-10-01 03:31:20 +04:00
2026-09-27 23:29:38 +04:00
2026-10-01 08:38:21 +04:00
2026-07-26 23:09:22 -04:00
2026-10-01 03:31:20 +04:00
2026-10-01 03:31:20 +04:00
2026-08-17 00:57:57 -07:00
2026-03-17 17:58:01 -05:00
2026-08-24 18:29:36 -04:00
2026-09-21 11:35:30 -04:00
2026-06-19 00:16:06 +02:00
2026-10-01 03:31:20 +04:00
2026-10-01 03:31:20 +04:00
2026-09-15 22:47:03 -04:00
2026-07-31 17:41:14 -04:00