Files
open-webui/backend/open_webui/routers
Classic298andbrodmart 3a9b9a1a74 fix: resolve terminal system_oauth token server-side instead of trusting a client header (#26719)
The terminal proxy's system_oauth auth type read the OAuth access token from the client-supplied x-oauth-access-token request header and forwarded it verbatim as a Bearer token to the upstream terminal server, so an authenticated caller could substitute an arbitrary token for the one bound to their own session. Resolve the token server-side from the caller's OAuth session via oauth_manager.get_oauth_token(user.id, oauth_session_id), matching the openai.py proxy, so the forwarded token is always the one Open WebUI issued for the authenticated user and the client header is ignored.

Co-authored-by: brodmart <brodmart@users.noreply.github.com>
2026-07-27 02:07:34 -04:00
..
2026-06-29 01:38:41 -05:00
2026-07-26 19:34:41 -04:00
2026-06-29 13:03:14 -05:00
2026-07-27 00:12:47 -04:00
2026-07-24 02:36:10 -04:00
2026-07-20 22:11:42 -04:00
2026-07-26 19:10:41 -04:00
2026-06-29 05:47:21 -05:00
2026-07-23 21:29:33 -04:00
2026-07-27 01:59:17 -04:00
2026-07-27 01:59:17 -04:00
2026-07-20 22:11:42 -04:00
2026-07-16 01:27:52 -04:00
2026-07-23 21:29:33 -04:00
2026-06-29 13:03:14 -05:00
2026-06-25 03:31:45 +01:00
2026-07-17 04:11:11 -04:00
2026-07-16 21:57:43 -04:00
2026-07-24 01:44:30 -04:00
2026-06-17 02:52:35 +02:00