Ver Fonte

Merge pull request #17012 from thomascooper/fork/feature/20250828-auth-oidc-support-pkce

fix: PKCE requires no secret, with no secret the login button does not eve…
Tim Jaeryang Baek há 5 meses atrás
pai
commit
7df1a059d6
1 ficheiros alterados com 1 adições e 1 exclusões
  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
     ):