mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-24 18:19:22 -05:00
[GH-ISSUE #15709] issue: oidc fails on update to 0.6.16 #17644
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 @ctrenthem159 on GitHub (Jul 14, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/15709
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.6.16
Ollama Version (if applicable)
N/A
Operating System
Ubuntu 24.04
Browser (if applicable)
Brave 1.80.120
Confirmation
README.md.Expected Behavior
Successfully login, which is what happened just minutes prior to upgrading
Actual Behavior
{"detail":"The email or password provided is incorrect. Please check for typos and try logging in again."}error in browser upon oidc callbackSteps to Reproduce
Upon upgrading to v0.6.16, make no configuration changes and attempt to login using Authentik.
OWUI login page works, shows "Log in through Authentik", and successfully redirects to Authentik when no user is logged in. Authentik successfully authenticates, and shows no issues in log. Redirect to OWUI, click "Continue with Authentik", encounter error.
Logs & Screenshots
Browser logs only show
Authentik log shows:
and finally, OWUI docker logs show this error:
Additional Information
The entire setup is connected through docker compose, and the site is behind a cloudflare proxy. As stated above, this setup worked without issue prior to upgrading the docker image, it started immediately on restarting the OWUI container with
docker compose down && docker compose up -d. No other configuration changes were made beyond changing the image to version 0.6.16@tjbck commented on GitHub (Jul 14, 2025):
Could you confirm the issue does not occur with 0.6.15?
@Classic298 commented on GitHub (Jul 14, 2025):
@ctrenthem159
Looking at your stacktrace, the issue is occurring during the OAuth login process when Open WebUI tries to fetch your Authentik server's OIDC metadata. The error
httpcore.ReadTimeouthappens specifically in theload_server_metadata()function, which means the request to your Authentik server's/.well-known/openid-configurationendpoint is timing out.The problem appears to be related to OAuth timeout settings. The default
OAUTH_TIMEOUTis 5 seconds, which may be too short for your Authentik setup after the 0.6.16 upgrade.Can you try this? Add this environment variable: OAUTH_TIMEOUT=30
Also verify if your OPENID_PROVIDER_URL is set correctly
This could resolve your
httpcore.ReadTimeouterror during OIDC authentication. The timeout occurs when Open WebUI tries to fetch your Authentik server's OIDC metadata.Let us know if this fixes the issue!
@nc98-ai commented on GitHub (Jul 14, 2025):
Info: test authentication with AZURE and OAUTH_TIMEOUT= default value => No issue