WebUi forwards to localhost #1971

Closed
opened 2025-11-11 14:57:47 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @mirno934 on GitHub (Sep 2, 2024).

Hello, we use the open webui with olama and would like to extend it with Microsoft SSO.

This works so far, but we can't get rid of the redirection to localhost:3000 after a successful login.

The whole thing is hosted via Docker
Before that an iis reversed proxy for https support.

Everything works so far and we were able to set the URI, only the last redirection is not working.

environment:
ENABLE_OAUTH_SIGNUP: “true”
OAUTH_MERGE_ACCOUNTS_BY_EMAIL: “true”
ENABLE_LOGIN_FORM: “false”
ENABLE_SIGNUP: “false”
MICROSOFT_CLIENT_ID: “xxx”
MICROSOFT_CLIENT_SECRET: “xxx”
MICROSOFT_CLIENT_TENANT_ID: “xxx”
MICROSOFT_REDIRECT_URI: “https://abc.online/oauth/microsoft/callback”
WEBUI_URL: “https://abc.online”

Originally created by @mirno934 on GitHub (Sep 2, 2024). Hello, we use the open webui with olama and would like to extend it with Microsoft SSO. This works so far, but we can't get rid of the redirection to localhost:3000 after a successful login. The whole thing is hosted via Docker Before that an iis reversed proxy for https support. Everything works so far and we were able to set the URI, only the last redirection is not working. environment: ENABLE_OAUTH_SIGNUP: “true” OAUTH_MERGE_ACCOUNTS_BY_EMAIL: “true” ENABLE_LOGIN_FORM: “false” ENABLE_SIGNUP: “false” MICROSOFT_CLIENT_ID: “xxx” MICROSOFT_CLIENT_SECRET: “xxx” MICROSOFT_CLIENT_TENANT_ID: “xxx” MICROSOFT_REDIRECT_URI: “https://abc.online/oauth/microsoft/callback” WEBUI_URL: “https://abc.online”
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#1971