From 4c1d95726d976e5b2806acbf6b84f72331b31d39 Mon Sep 17 00:00:00 2001 From: Ethan-Zhang Date: Fri, 24 Oct 2025 14:16:10 +0800 Subject: [PATCH] =?UTF-8?q?Fix:=20AutheliaConfig=E8=A1=A5=E5=85=85pkce?= =?UTF-8?q?=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/schemas/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/schemas/config.py b/apps/schemas/config.py index a4302baa0b..ae03637df2 100644 --- a/apps/schemas/config.py +++ b/apps/schemas/config.py @@ -46,6 +46,8 @@ class AutheliaConfig(BaseModel): client_id: str = Field(description="OIDC Client ID") client_secret: str = Field(description="OIDC Client Secret") redirect_uri: str = Field(description="重定向URI") + enable_pkce: bool = Field(description="是否启用PKCE", default=True) + pkce_challenge_method: str = Field(description="PKCE挑战方法", default="S256") class FixedUserConfig(BaseModel): -- Gitee