261103_02_ENH: 공유 인증 사용자 정보 동기화 및 프로젝트 접근 전환 개선
This commit is contained in:
@@ -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>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user