diff --git a/adminfront/src/features/auth/LoginPage.tsx b/adminfront/src/features/auth/LoginPage.tsx index 1897dc57..2292f5c4 100644 --- a/adminfront/src/features/auth/LoginPage.tsx +++ b/adminfront/src/features/auth/LoginPage.tsx @@ -32,7 +32,7 @@ function LoginPage() { const handleSSOLogin = (mode: "popup" | "redirect" = "popup") => { const userfrontUrl = import.meta.env.USERFRONT_URL || "https://sso.hmac.kr"; const callbackUrl = `${window.location.origin}/auth/callback`; - const loginUrl = `${userfrontUrl}/ssologin?source=adminfront&redirect_uri=${encodeURIComponent(callbackUrl)}`; + const loginUrl = `${userfrontUrl}/signin?source=adminfront&redirect_uri=${encodeURIComponent(callbackUrl)}`; if (mode === "redirect") { window.location.href = loginUrl; diff --git a/userfront/lib/main.dart b/userfront/lib/main.dart index 3138ef12..5c94c1b1 100644 --- a/userfront/lib/main.dart +++ b/userfront/lib/main.dart @@ -98,13 +98,6 @@ final _router = GoRouter( return LoginScreen(key: state.pageKey, loginChallenge: loginChallenge); }, ), - GoRoute( - path: '/ssologin', - builder: (context, state) { - _routerLogger.info("Navigating to /ssologin"); - return LoginScreen(key: state.pageKey); - }, - ), GoRoute( path: '/login', builder: (context, state) {