Azure B2C 禁用身份提供者注册 SignUpAndSignIn 策略 - Apple 身份提供者 IDP

时间:2021-06-16 20:56:50

标签: azure azure-ad-b2c azure-ad-b2c-custom-policy

我需要一些关于自定义 Azure B2c(Apple 身份提供商)的建议

有没有办法禁用特定 IDP 的 SignUpAndSignIn 策略的注册?那么苹果呢?

我查看了该帖子 Azure B2C disable Sign up of a SignUpAndSignIn policy,但与本地注册有关,而不是针对社交提供商

2 个答案:

答案 0 :(得分:0)

您只能在自定义策略中执行此操作。它们分为可以在指定条件(Precondition)下运行的步骤(OrchestrationStep)。可以选择这些条件之一。在您的情况下,它将配置将新的外部 IdP 用户写入要在检测到特定提供者时跳过的目录的步骤。 类似的东西:

<OrchestrationStep Order="7" Type="ClaimsExchange">
<Preconditions>
    <Precondition Type="ClaimEquals" ExecuteActionsIf="true">
        <Value>identityProvider</Value>
        <Value>https://appleid.apple.com</Value>
        <Action>SkipThisOrchestrationStep</Action>
    </Precondition>
</Preconditions>
<ClaimsExchanges>
    <ClaimsExchange Id="AADUserWrite" TechnicalProfileReferenceId="AAD-UserWriteUsingAlternativeSecurityId" />
</ClaimsExchanges>

然而,这只是阻止了注册的发生。还必须添加一些错误处理、UX 等。

答案 1 :(得分:0)

非常感谢您抽出宝贵时间。

我收到下面的窗口,我们不想看到下面的提示

enter image description here

我们想使用我们的 Apple ID 并跳转到应用程序(见下图)

enter image description here