mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
issue: OAuth keeps redirecting to localhost:3000 #5371
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 @McNickSistoPro on GitHub (May 28, 2025).
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
0.6.11
Ollama Version (if applicable)
No response
Operating System
MacOS
Browser (if applicable)
Chrome
Confirmation
README.md.Expected Behavior
With Microsoft OAuth, redirecting to correct / original host.
Actual Behavior
Since 0.6.11, Microsoft OAuth Authentification is not working.
The OAuth flow technically works, but the final redirect is going to the wrong URL. After successful authentication, instead of redirecting to:
https://URL/auth#token=
it redirects to
http://localhost:3000/auth#token=...
Steps to Reproduce
Hard to reproduce without Microsoft OAuth config.
Logs & Screenshots
Additional Information
And yes my .env file has:
WEBUI_URL=https://URL (with correct URL)
@nahata5 commented on GitHub (May 28, 2025):
I had this too - tried changing Nginx Proxy Manger headers and confirmed the redirect to Google auth window. I reverted back to 0.6.10 in my docker compose instead of leaving the main tag and login works again
@McNickSistoPro commented on GitHub (May 28, 2025):
I did those same steps too:
@hugobritobh commented on GitHub (May 28, 2025):
I also had the same problem in version 0.6.11.
I reverted the version to 0.6.10 and it worked
@truongphung12947 commented on GitHub (May 28, 2025):
I had the same issue with v0.6.11. Rolled back to 0.6.10 works fine.
@tjbck commented on GitHub (May 28, 2025):
PLEASE READ THE CHANGELOGS BEFORE UPDATING.
Also please check for previous issues/disucssions,
WEBUI_URLis NOT an env var and must be configured from the UI.@McNickSistoPro commented on GitHub (May 28, 2025):
@tjbck sorry only looked at open issues not closed ones. Thank you.
Answer is here:
https://github.com/open-webui/open-webui/issues/14380#issuecomment-2911942311