mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 15:07:32 +00:00
idp length check
This commit is contained in:
@@ -184,13 +184,12 @@ export default async function Page(props: {
|
|||||||
></ChooseAuthenticatorToSetup>
|
></ChooseAuthenticatorToSetup>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{loginSettings?.allowExternalIdp && identityProviders && (
|
{loginSettings?.allowExternalIdp && !!identityProviders.length && (
|
||||||
<>
|
<>
|
||||||
{identityProviders.length && (
|
<div className="py-3 flex flex-col">
|
||||||
<div className="py-3 flex flex-col">
|
<p className="ztdl-p text-center">{t("linkWithIDP")}</p>
|
||||||
<p className="ztdl-p text-center">{t("linkWithIDP")}</p>
|
</div>
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
<SignInWithIdp
|
<SignInWithIdp
|
||||||
identityProviders={identityProviders}
|
identityProviders={identityProviders}
|
||||||
requestId={requestId}
|
requestId={requestId}
|
||||||
|
Reference in New Issue
Block a user