feat: establish ZITADEL OIDC account portal foundation

This commit is contained in:
Vib Tools committed 2026-11-22 04:25:33 -08:00
1 parent 4404849fc4
commit 40af500750
28 files changed
+898 -10

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
import type { ReactNode } from "react";
import { AccountShell } from "@/components/account-shell";
import { requireIdentity } from "@/lib/identity";
export const dynamic = "force-dynamic";
export default async function ProtectedLayout({
children
}: {
children: ReactNode;
}) {
const user = await requireIdentity();
return <AccountShell user={user}>{children}</AccountShell>;
}