1
0
forked from baron/baron-sso

refactor: 별도의 /ssologin 경로 대신 기존 /signin 경로를 사용하도록 수정 #243

This commit is contained in:
2026-02-11 15:26:37 +09:00
parent 9d7c28b1c1
commit 2c6322db60
2 changed files with 1 additions and 8 deletions

View File

@@ -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;

View File

@@ -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) {