mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-15 19:33:44 +00:00
signin component
This commit is contained in:
20
apps/login/app/(login)/register/idp/page.tsx
Normal file
20
apps/login/app/(login)/register/idp/page.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import { getLegalAndSupportSettings, server } from "#/lib/zitadel";
|
||||
|
||||
import { SignInWithIDP } from "@zitadel/react";
|
||||
|
||||
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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user