1
0
forked from baron/baron-sso

로그인 설정 업데이트

This commit is contained in:
2026-03-18 13:32:09 +09:00
parent 725ba375d2
commit 99def9a0e5
4 changed files with 5 additions and 5 deletions

View File

@@ -29,7 +29,7 @@ apiClient.interceptors.response.use(
async (error) => {
if (error.response?.status === 401) {
// 401 발생 시 로그인 페이지로 리다이렉트
const isAuthPath = window.location.pathname.startsWith("/callback");
const isAuthPath = window.location.pathname.startsWith("/auth/callback");
const isLoginPath = window.location.pathname === "/login";
const user = await userManager.getUser();
// 인증 토큰이 없는 경우에만 로그인으로 보낸다.