mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-13 15:02:11 +00:00
21 lines
548 B
TypeScript
21 lines
548 B
TypeScript
import { getLegalAndSupportSettings, server } from "#/lib/zitadel";
|
|
|
|
import { SignInWithIDP } from "@zitadel/next";
|
|
|
|
export default async function Page({
|
|
searchParams,
|
|
}: {
|
|
searchParams: Record<string | number | symbol, string | undefined>;
|
|
}) {
|
|
const legal = await getLegalAndSupportSettings(server);
|
|
|
|
return (
|
|
<div className="flex flex-col items-center space-y-4">
|
|
<h1>Register</h1>
|
|
<p className="ztdl-p">Create your ZITADEL account.</p>
|
|
|
|
{legal && <SignInWithIDP server={server}></SignInWithIDP>}
|
|
</div>
|
|
);
|
|
}
|