mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #23074] issue: v0.8.11 - OpenAI Responses API - oAuth Token sent to backend not refreshed #58548
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 @com98 on GitHub (Mar 26, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/23074
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.8.11
Ollama Version (if applicable)
No response
Operating System
Ubuntu 24.04.4 LTS
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
I am using a custom built OpenAI Responses API wrapper with FastAPI which does RAG and forwards the request to an Ollama Instance. This FastAPI relies on an JSON Web Token (JWT) being passed to my API. This process was working perfectly fine in v0.8.10 - OpenWebUI sent a request to my API and included the JWT as a HTTP Header. I could verify that JWT and make sure the request is authenticated. The token was always valid and did not expire.
I am expecting Open Web UI v0.8.11 to also pass a valid JWT to my backend in order to validate the request.
I tried to check the changelog as well to see if there's any configuration change or similar, but I couldn't find any information on that. If I've missed something, please feel free to let me know!
Actual Behavior
In Open Web UI v0.8.11 the behaviour seems to have changed. The JWT is no longer forwarded as a HTTP header, but as a Cookie. I did not change any configuration.
I changed my backend to extract the JWT from the cookie
oauth_id_tokenSteps to Reproduce
Steps to reproduce are simple, simply set up an OpenWebUI instance connected to oAuth:
My Docker compose file:
When adding this endpoint as OpenAI compatible endpoint in OpenWebUI and then signing into OpenWebUI this call will pass the authentication until initially fetched token expires, afterwards you'll receive the error:
Hence the token is not refreshed and an old token is sent to the backend API.
More details (I don't consider these to be relevant for that issue)
In front of OpenWebUI I do have a Nginx Reverse Proxy in place:
In OpenWebUI I have selected
oAuthas auth methodLogs & Screenshots
The Python API is stating
Signature has expiredAdditional Information
No response
@tjbck commented on GitHub (Mar 26, 2026):
Nothings changed from our end, I'd suggest you double check any configuration issues from your end.