我需要一些关于自定义 Azure B2c(Apple 身份提供商)的建议
有没有办法禁用特定 IDP 的 SignUpAndSignIn 策略的注册?那么苹果呢?
我查看了该帖子 Azure B2C disable Sign up of a SignUpAndSignIn policy,但与本地注册有关,而不是针对社交提供商
答案 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)
非常感谢您抽出宝贵时间。
我收到下面的窗口,我们不想看到下面的提示
我们想使用我们的 Apple ID 并跳转到应用程序(见下图)