mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-11 19:42:16 +00:00
idp site
This commit is contained in:
@@ -174,3 +174,19 @@ If the user chooses a method he is redirected to one of `/otp/time-based/set`, `
|
||||
At the moment, U2F methods are hidden if a method is already added on the users resource. Reasoning is that the page should only be invoked for prompts. A self service page which shows up multiple u2f factors is implemented at a later stage.
|
||||
|
||||
> NOTE: The session and therefore the user factor defines which login settings are checked for available options.
|
||||
|
||||
### /passkey/set
|
||||
|
||||
### /otp/[method]/set
|
||||
|
||||
### /u2f/set
|
||||
|
||||
### /register
|
||||
|
||||
### /idp/[method]/success /idp/[method]/failure
|
||||
|
||||
### /verify
|
||||
|
||||
### /accounts
|
||||
|
||||
### /signedin
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
import {
|
||||
getBrandingSettings,
|
||||
getLegalAndSupportSettings,
|
||||
settingsService,
|
||||
} from "@/lib/zitadel";
|
||||
import { getBrandingSettings, settingsService } from "@/lib/zitadel";
|
||||
import DynamicTheme from "@/ui/DynamicTheme";
|
||||
import { SignInWithIDP } from "@/ui/SignInWithIDP";
|
||||
import { makeReqCtx } from "@zitadel/client/v2";
|
||||
@@ -23,8 +19,6 @@ export default async function Page({
|
||||
const authRequestId = searchParams?.authRequestId;
|
||||
const organization = searchParams?.organization;
|
||||
|
||||
const legal = await getLegalAndSupportSettings(organization);
|
||||
|
||||
const identityProviders = await getIdentityProviders(organization);
|
||||
|
||||
const host = process.env.VERCEL_URL
|
||||
@@ -36,12 +30,12 @@ export default async function Page({
|
||||
return (
|
||||
<DynamicTheme branding={branding}>
|
||||
<div className="flex flex-col items-center space-y-4">
|
||||
<h1>Register</h1>
|
||||
<h1>Sign in with SSO</h1>
|
||||
<p className="ztdl-p">
|
||||
Select one of the following providers to register
|
||||
Select one of the following providers to sign in
|
||||
</p>
|
||||
|
||||
{legal && identityProviders && process.env.ZITADEL_API_URL && (
|
||||
{identityProviders && (
|
||||
<SignInWithIDP
|
||||
host={host}
|
||||
identityProviders={identityProviders}
|
||||
|
||||
Reference in New Issue
Block a user