261103_02_ENH: 공유 인증 사용자 정보 동기화 및 프로젝트 접근 전환 개선

This commit is contained in:
2026-11-03 15:22:19 +09:00
parent 5590cc657f
commit 5f41995c84
6 changed files with 174 additions and 45 deletions

View File

@@ -1,3 +1,4 @@
import { AuthSessionGate } from "@/components/app-shell/AuthSessionGate";
import { AppMainLayout } from "@/components/app-shell/AppMainLayout";
export const dynamic = "force-dynamic";
@@ -5,5 +6,5 @@ export const dynamic = "force-dynamic";
export default function MainLayout({ children }: Readonly<{ children: React.ReactNode }>) {
// External JWTs live in this tab, so authentication is checked after hydration.
// Every BFF/API request still enforces verified server authentication and scope.
return <AppMainLayout>{children}</AppMainLayout>;
return <AuthSessionGate><AppMainLayout>{children}</AppMainLayout></AuthSessionGate>;
}