mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #15254] issue:WEBUI_AUTH=False doesn't fully disable login; frontend still attempts signin
#56175
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 @anilrajrimal1 on GitHub (Jun 24, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/15254
Check Existing Issues
Installation Method
Docker
Open WebUI Version
main
Ollama Version (if applicable)
latest
Operating System
Ubuntu 22.04
Browser (if applicable)
Brave
Confirmation
README.md.Expected Behavior
When the environment variable
WEBUI_AUTHis set toFalse, the application should completely disable all authentication mechanisms. This means:/api/v1/auths/signin) are made.Actual Behavior
Despite setting
WEBUI_AUTH=False, the login screen is hidden, but the frontend still attempts to authenticate by automatically sending aPOSTrequest to/api/v1/auths/signin. Because no valid credentials are provided, the server returns a400 Bad Requesterror. This results in:Steps to Reproduce
WEBUI_AUTH=Falsein the environment variables.POST /api/v1/auths/signinrequest which fails.Logs & Screenshots
Web Image:

Browser Console:

Additional Information
This behavior suggests the frontend does not fully respect the
WEBUI_AUTHsetting at runtime. It seems like this flag disables backend auth but not frontend login attempts, which causes confusion and broken usage without credentials.@rgaricano commented on GitHub (Jun 24, 2025):
did you set any other auth method?
@anilrajrimal1 commented on GitHub (Jun 24, 2025):
No, I didn’t set any other authentication method. Just WEBUI_AUTH=False to disable auth completely.
@tjbck commented on GitHub (Jun 25, 2025):
Unable to reproduce, @ayanahye @jackthgu double check wanted here.