From 9d80cc3b2d39e5e986b53ba19d66379643e80645 Mon Sep 17 00:00:00 2001 From: Thomas Cooper Date: Thu, 28 Aug 2025 14:47:13 -0400 Subject: [PATCH] PKCE requires no secret, with no secret the login button does not ever show --- backend/open_webui/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/open_webui/config.py b/backend/open_webui/config.py index 1fe031cdad..3cc522c26d 100644 --- a/backend/open_webui/config.py +++ b/backend/open_webui/config.py @@ -660,7 +660,7 @@ def load_oauth_providers(): if ( OAUTH_CLIENT_ID.value - and OAUTH_CLIENT_SECRET.value + and (OAUTH_CLIENT_SECRET.value or OAUTH_CODE_CHALLENGE_METHOD.value) and OPENID_PROVIDER_URL.value ):