mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
issue: SSO Integration with HTTP Header Variables not working #4523
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 @codespg on GitHub (Mar 22, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.5.18
Ollama Version (if applicable)
No response
Operating System
Ubuntu 22
Browser (if applicable)
Chrome
Confirmation
README.md.Expected Behavior
I have Setup Reverse proxy for Open Web UI and Normal Login works fine.
Added below parameters for HTTP Header Authentication for SSO Setup
-e ENABLE_LOGIN_FORM:False
-e WEBUI_AUTH_TRUSTED_EMAIL_HEADER:X-Remote-User
-e WEBUI_AUTH_TRUSTED_NAME_HEADER:X-First-Name
Expecting below beheaviour:
Actual Behavior
Steps to Reproduce
Run docker with below env variables
docker run -d -e OAUTH_MERGE_ACCOUNTS_BY_EMAIL:True -e WEBUI_SESSION_COOKIE_SAME_SITE:lax -e WEBUI_AUTH_COOKIE_SAME_SITE:lax -e ENABLE_LOGIN_FORM:False -e WEBUI_AUTH_TRUSTED_EMAIL_HEADER:X-Remote-User -e WEBUI_AUTH_TRUSTED_NAME_HEADER:X-First-Name -p 3000:8080 -v open-webui:/app/backend/data --name open-webui ghcr.io/open-webui/open-webui:main
Logs & Screenshots
browser_console_log.log
Additional Information
browser_har_file.har.zip