Преглед изворни кода

PKCE requires no secret, with no secret the login button does not ever show

Thomas Cooper пре 1 месец
родитељ
комит
9d80cc3b2d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      backend/open_webui/config.py

+ 1 - 1
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
     ):