mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #15544] issue: OIDC provider not activating despite correct config, env vars, and successful network connectivity #17595
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 @nguyendev on GitHub (Jul 6, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/15544
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
0.6.15
Ollama Version (if applicable)
No response
Operating System
Windows Server 2024
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Describe the bug
The OIDC login button does not appear on the login page, and the
/api/configendpoint returns an emptyoauth.providersobject, even when all environment variables are correctly loaded and network connectivity from within the container to the OIDC provider is successful.Have you read the Contributing Guidelines on issues?
Yes
File: .env
OAUTH_CONFIG=[{"oidc_enabled":true,"display_name":"Login with Solann ID","client_id":"open-webui-client","client_secret":"XXX","well_known_url":"https://X/.well-known/openid-configuration","scopes":"openid profile email roles"}]
OPENAI_API_BASE_URL=https://api.XXX/api/ai-proxy/v1
OPENAI_API_KEY=DUMMY_KEY
File: docker-compose.yml
version: '3.8'
services:
open-webui:
image: ghcr.io/open-webui/open-webui:v0.6.15
container_name: solann-ai-webui-final
ports:
- "8080:8080"
volumes:
open-webui-data-final:
Actual Behavior
To Reproduce
docker-compose.ymland.envfiles below on Docker Desktop for Windows Server.docker-compose up -d./api/configendpoint shows{"oauth": {"providers": {}}}.Steps to Reproduce
Expected behavior
The OIDC login button should appear on the login page, and the
/api/configendpoint should reflect the OIDC provider configuration.Logs & Screenshots
Screenshots
Result of
/api/config:@Classic298 commented on GitHub (Jul 6, 2025):
where is your config? I dont see you set all the required environment variables for proper OIDC / OAUTH as per the docs?
@nguyendev commented on GitHub (Jul 6, 2025):
Hi, thank you for looking into this.
I apologize if the configuration wasn't clear in the initial report. Here are the complete configuration files and a summary of the debugging steps we've already taken.
Configuration Files
This setup uses the newer
OAUTH_CONFIGenvironment variable, as discussed in other community threads, instead of the deprecated individualOIDC_*variables.My
docker-compose.yml: