Azure B2C禁用SignUpAndSignIn策略的注册 [英] Azure B2C disable Sign up of a SignUpAndSignIn policy
问题描述
我需要有关自定义Azure B2C的一些建议.
I need some advice on Customising Azure B2C.
我一直在研究基于门户的定制和Identity Experience Framework.
I've been looking at both portal based customisation and the Identity Experience Framework.
我的关键要求是完全控制登录体验的外观.但是,用户不能注册,因为这是由单独的业务流程处理的.我了解我无法使用简单的登录策略,因为B2C无法提供所需的自定义级别.
My key requirement is to have full control of the look and feel of the login experience. However, users must not be able sign up as this is handled by a separate business process. I understand that I cannot use a simple SignIn policy as B2C doesn't provide the required level of customisation.
我找不到任何可靠的文档来描述如何/是否有可能.
I'm unable to find any solid documentation that describe how/if this is possible.
我已遵循此文档了解Azure B2C身份体验框架.但是看不到我可以在哪里禁用注册.
I've followed this documentation for the Azure B2C Identity Experience Framework. But can't see where I would be able to disable signup.
https://docs.microsoft.com/zh-CN/azure/active-directory-b2c/active-directory-b2c-get-started-custom
推荐答案
You can disable the sign-up button using the setting.showSignupLink
metadata:
<TechnicalProfile Id="SelfAsserted-LocalAccountSignin-Email">
<DisplayName>Local Account Signin</DisplayName>
<Protocol Name="Proprietary" Handler="Web.TPEngine.Providers.SelfAssertedAttributeProvider, Web.TPEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />
<Metadata>
<Item Key="setting.operatingMode">Email</Item>
<Item Key="setting.showSignupLink">false</Item>
<Item Key="ContentDefinitionReferenceId">api.selfasserted</Item>
</Metadata>
<IncludeInSso>false</IncludeInSso>
<InputClaims>
<InputClaim ClaimTypeReferenceId="signInName" />
</InputClaims>
<OutputClaims>
<OutputClaim ClaimTypeReferenceId="signInName" Required="true" />
<OutputClaim ClaimTypeReferenceId="password" Required="true" />
<OutputClaim ClaimTypeReferenceId="objectId" />
<OutputClaim ClaimTypeReferenceId="authenticationSource" />
</OutputClaims>
<ValidationTechnicalProfiles>
<ValidationTechnicalProfile ReferenceId="login-NonInteractive" />
</ValidationTechnicalProfiles>
<UseTechnicalProfileForSessionManagement ReferenceId="SM-AAD" />
</TechnicalProfile>
这篇关于Azure B2C禁用SignUpAndSignIn策略的注册的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!