mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
bug: Reverse Proxy breaks Microsoft OAuth #1546
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 @YetheSamartaka on GitHub (Jul 17, 2024).
Bug Report
Description
Bug Summary:
I have WebUI running on Ubuntu 22.04 via Docker, latest version from GitHub and I have reverse proxy setup. So far, everything was pretty much working alright, but when I wanted to add Microsoft OAuth, I've stumbled upon an issue where the redirect URI that is generated is HTTP instead of HTTPS one.
Expected Behavior:
HTTPS Link is generated.
Actual Behavior:
HTTP Link is generated.
Environment
Open WebUI Version: [0.3.9]
Operating System: [Ubuntu 20.04]
Reproduction Details
Confirmation:
Installation Method
Dockerfile
Additional Information
I found Discussion on the GitHub mentioning probably the similar issue https://github.com/open-webui/open-webui/discussions/3727
Where yusiwen is commenting the backend/start.sh, line 58 as of this date that is missing the --proxy-headers argument. However, I've put it on my local fork there, rebuilt the docker image and I still have the issue. How can I proceed further, please?