mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-11 09:33:54 -05:00
[GH-ISSUE #14589] issue: SSO login failing with localhost:3000 forward after upgrade to v0.6.13. #137035
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 @cwittenberg on GitHub (Jun 2, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14589
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.13 - but likely also present in versions after v0.6.9
Ollama Version (if applicable)
No response
Operating System
Ubuntu 22.04
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
SSO login request (Azure) passes through
Actual Behavior
Forward to localhost:3000
Steps to Reproduce
Note I had $VERSION=latest before, which caused this issue. With 0.6.9 it seems to work.
export VERSION=0.6.9
#pull latest
docker pull ghcr.io/open-webui/open-webui:$VERSION
docker run -d -p 5173:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui
-e WEBUI_NAME="Private GPT"
-e ENABLE_LOGIN_FORM=false
-e DEFAULT_USER_ROLE=user
-e DISABLE_VERSION_CHECK=true
-e ENABLE_OAUTH_SIGNUP=true
-e BASE_URL="obfuscated"
-e MICROSOFT_REDIRECT_URI="https://obfuscated/oauth/microsoft/callback"
-e MICROSOFT_CLIENT_ID=obfuscated
-e MICROSOFT_CLIENT_SECRET=obfuscated
-e MICROSOFT_CLIENT_TENANT_ID=obfuscated
--restart always ghcr.io/open-webui/open-webui:$VERSION
Logs & Screenshots
Additional Information
No response
@MHugonKaliop commented on GitHub (Jun 2, 2025):
Same here, with google auth
redirection to localhost:3000
@Rishab-Jula commented on GitHub (Jun 2, 2025):
facing the same.
@tjbck commented on GitHub (Jun 2, 2025):
Read the changelogs, and existing issues/discussions.
@MHugonKaliop commented on GitHub (Jun 2, 2025):
ok, finally found it. If you don't want to dig like I did, the URL must be configured in admin / settings / interface...
It seems it can't be done in a ENV variable...
@m8i-51 commented on GitHub (Jun 3, 2025):
You need to explicitly specify
WEBUI_URLin the.envfile.release v0.6.11
Set the WEBUI_URL
@drxenonbloom commented on GitHub (Jun 10, 2025):
I too had this same issue with Google OAuth. Passing WEBUI_URL as an environmental variable did not work., it still defaulted to localhost:3000. I had to downgrade to v0.6.10, go into Admin Panel, Settings, General and set the WebUI URL there (as @MHugonKaliop suggested) before it would work.
@m8i-51 commented on GitHub (Jun 10, 2025):
I sincerely apologize. I double-checked my environment.
I’m using docker-compose.yaml to start the application, and both
WEBUI_URLandGOOGLE_REDIRECT_URIare set under the environment section of the open-webui service.With these settings, Google OAuth is working correctly in my environment.
Set the WEBUI_URL
@Classic298 commented on GitHub (Jun 10, 2025):
Guys, WEBUI_URL is a persistent config, you cannot change it from environement variables, unless you disable persistent config temporarily - otherwise you can always change the WEBUI URL from the admin panel.