From 7c32bf97aec650ed13d4e88b279eaf78ec9c03cf Mon Sep 17 00:00:00 2001 From: jialin Date: Thu, 14 Aug 2025 21:50:01 +0800 Subject: [PATCH] chore: auth-config api --- src/pages/login/hooks/use-sso-auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/login/hooks/use-sso-auth.ts b/src/pages/login/hooks/use-sso-auth.ts index a86a52b0..f7dd2890 100644 --- a/src/pages/login/hooks/use-sso-auth.ts +++ b/src/pages/login/hooks/use-sso-auth.ts @@ -51,7 +51,7 @@ export function useSSOAuth({ const init = async () => { try { - const authConfig = await fetchAuthConfig('/auth_config'); + const authConfig = await fetchAuthConfig('/auth-config'); setLoginOption({ oidc: !!authConfig.is_oidc, saml: !!authConfig.is_saml