mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
Cloudflare SSO Broken #860
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 @ther3zz on GitHub (May 8, 2024).
Bug Report
Looks like the most recent version pushed (v0.1.124) breaks cloudflare access SSO.
Description
When setting to variable WEBUI_AUTH_TRUSTED_EMAIL_HEADER to "Cf-Access-Authenticated-User-Email", cloudflare access no longer works.
Steps to Reproduce:
Expected Behavior:
It should log the user in automatically. Currently only tested via admin account.
Actual Behavior:
the UI displays a red error stating "The email or password provided is incorrect. Please check for typos and try logging in again."
Environment
Open WebUI Version: v0.1.124
Operating System: docker image ghcr.io/open-webui/open-webui:main
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
[Include relevant browser console logs, if applicable]
Docker Container Logs:
INFO:apps.web.models.auths:authenticate_user_by_trusted_header: me@email.com
INFO:apps.web.models.auths:authenticate_user:
INFO: 1.2.3.4:0 - "POST /api/v1/auths/signin HTTP/1.1" 400 Bad Request
Screenshots (if applicable):

Installation Method
Docker