mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[GH-ISSUE #23463] issue: v0.8.11/12, connection OAuth Authorization header no longer sent to model backend. undeclared cookie_expires var #35518
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 @bitsofinfo on GitHub (Apr 6, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/23463
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.8.11 and v0.8.12
Ollama Version (if applicable)
No response
Operating System
osx
Browser (if applicable)
chrome latest
Confirmation
README.md.Expected Behavior
Here is my configuration in v0.8.10. Works fine.
Authorizationheader with the JWT bearer token from the OAuth exchangeWhen I simply upgrade to 0.8.11, this breaks. The
Authorizationheader is not longer sent over the connection to the model's chat completions endpoint.Actual Behavior
see above
Steps to Reproduce
see above. Just take a working OAUTH configured open-webui instance running v0.8.10 or below, and upgrade it to v0.8.11 (or v0.8.12)
Logs & Screenshots
The only thing I see in the logs post upgrade related to/during the oauth redirect flow is this:
This variable doesn't even appear defined (
cookie_expires)9bd84258d0/backend/open_webui/utils/oauth.py (L1686)Looks like it was introduced here:
bb3526f4e4 (r181648930)@tjbckAdditional Information
none
@bitsofinfo commented on GitHub (Apr 6, 2026):
@HenriqueMendesCoelho commented on GitHub (Apr 7, 2026):
I'm experiencing the same issue. Downgrading to v0.8.10 fixed it for me.
@pedro-inf-custodio commented on GitHub (Apr 7, 2026):
Me too, also downgrading to v0.8.10.
Note: I'm using Microsoft Entra ID.
@tjbck commented on GitHub (Apr 12, 2026):
Duplicate. Addressed in dev.
@roller100 commented on GitHub (Apr 18, 2026):
Thanks to the Open WebUI team and to everyone who raised and narrowed this issue.
These threads were very helpful in tracking down and resolving our own authentication problems around
oauth_session_id/system_oauth.For anyone who is temporarily stuck on
v0.8.11/v0.8.12while the fix works its way through the normal release cycle, we wrote up the minimal interim hotfix we used here:https://github.com/BearingNode/bn-open-webui/issues/7
That note keeps the details public-safe and shows the smallest callback-path patch / Docker overlay we found useful in the interim.
Appreciate the issue reports and the fact that the fix is already tracked upstream.
@bitsofinfo commented on GitHub (Apr 21, 2026):
is this in the 0.9.x series?
@Classic298 commented on GitHub (Apr 21, 2026):
yes fixed for me