diff --git a/adminfront/src/components/layout/AppLayout.tsx b/adminfront/src/components/layout/AppLayout.tsx
index df69e221..1c2a3f59 100644
--- a/adminfront/src/components/layout/AppLayout.tsx
+++ b/adminfront/src/components/layout/AppLayout.tsx
@@ -297,3 +297,4 @@ function AppLayout() {
}
export default AppLayout;
+// force reload
diff --git a/devfront/src/app/routes.tsx b/devfront/src/app/routes.tsx
index 1586062e..0a8c81d8 100644
--- a/devfront/src/app/routes.tsx
+++ b/devfront/src/app/routes.tsx
@@ -17,7 +17,7 @@ export const router = createBrowserRouter(
element: ,
},
{
- path: "/auth/callback",
+ path: "/callback",
element: ,
},
{
diff --git a/devfront/src/components/layout/AppLayout.tsx b/devfront/src/components/layout/AppLayout.tsx
index 64ed2759..75e81537 100644
--- a/devfront/src/components/layout/AppLayout.tsx
+++ b/devfront/src/components/layout/AppLayout.tsx
@@ -392,3 +392,4 @@ function AppLayout() {
}
export default AppLayout;
+// force reload
diff --git a/devfront/src/features/auth/authApi.ts b/devfront/src/features/auth/authApi.ts
index 9fa27955..2c399cad 100644
--- a/devfront/src/features/auth/authApi.ts
+++ b/devfront/src/features/auth/authApi.ts
@@ -11,6 +11,7 @@ export interface UserProfile {
email: string;
name: string;
role: string;
+ phone?: string;
companyCode?: string;
tenantId?: string;
tenant?: Tenant;
diff --git a/devfront/src/lib/apiClient.ts b/devfront/src/lib/apiClient.ts
index 49b83cee..1d231cb1 100644
--- a/devfront/src/lib/apiClient.ts
+++ b/devfront/src/lib/apiClient.ts
@@ -29,7 +29,7 @@ apiClient.interceptors.response.use(
async (error) => {
if (error.response?.status === 401) {
// 401 발생 시 로그인 페이지로 리다이렉트
- const isAuthPath = window.location.pathname.startsWith("/auth/callback");
+ const isAuthPath = window.location.pathname.startsWith("/callback");
const isLoginPath = window.location.pathname === "/login";
const user = await userManager.getUser();
// 인증 토큰이 없는 경우에만 로그인으로 보낸다.
diff --git a/devfront/src/lib/auth.ts b/devfront/src/lib/auth.ts
index f424d9d9..59670a04 100644
--- a/devfront/src/lib/auth.ts
+++ b/devfront/src/lib/auth.ts
@@ -5,11 +5,11 @@ export const oidcConfig: AuthProviderProps = {
authority:
import.meta.env.VITE_OIDC_AUTHORITY || "http://localhost:5000/oidc", // Gateway Proxy URL
client_id: import.meta.env.VITE_OIDC_CLIENT_ID || "devfront",
- redirect_uri: `${window.location.origin}/auth/callback`,
+ redirect_uri: `${window.location.origin}/callback`,
response_type: "code",
scope: "openid offline_access profile email", // offline_access for refresh token
post_logout_redirect_uri: window.location.origin,
- popup_redirect_uri: `${window.location.origin}/auth/callback`,
+ popup_redirect_uri: `${window.location.origin}/callback`,
userStore: new WebStorageStateStore({ store: window.localStorage }),
automaticSilentRenew: true,
};