Azure active directory Azure B2C添加自定义登录策略

Azure active directory Azure B2C添加自定义登录策略,azure-active-directory,azure-ad-b2c,Azure Active Directory,Azure Ad B2c,我正在尝试使用用户名和密码添加简单的登录自定义策略。 如果我使用api.localaccountsign 它也会显示我不想要的注册按钮(我只需要登录政策), 我还尝试使用api.selfasserted,但结果如下所示 下面是我的技术简介 <TechnicalProfile Id="SelfAsserted-LocalAccountSignin-Email"> <DisplayName>Local Account Signin</DisplayNam

我正在尝试使用用户名和密码添加简单的登录自定义策略。 如果我使用
api.localaccountsign
它也会显示我不想要的注册按钮(我只需要登录政策), 我还尝试使用
api.selfasserted
,但结果如下所示

下面是我的技术简介

 <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">Username</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" />
      </OutputClaims>
      <ValidationTechnicalProfiles>
        <ValidationTechnicalProfile ReferenceId="login-NonInteractive" />
      </ValidationTechnicalProfiles>
      <UseTechnicalProfileForSessionManagement ReferenceId="SM-AAD" />
    </TechnicalProfile>

本地帐户登录
用户名
api.Self断言
假的
下面是我的用户体验

 <UserJourney Id="SignIn">
 <OrchestrationSteps>
  <OrchestrationStep Order="1" Type="ClaimsExchange">
      <ClaimsExchanges>
        <ClaimsExchange Id="LocalAccountSigninEmailExchange1" TechnicalProfileReferenceId="SelfAsserted-LocalAccountSignin-Email" />
      </ClaimsExchanges>
  </OrchestrationStep>
  <OrchestrationStep Order="2" Type="ClaimsExchange">
      <ClaimsExchanges>
        <ClaimsExchange Id="AADUserReadWithObjectId" TechnicalProfileReferenceId="AAD-UserReadUsingObjectId" />
      </ClaimsExchanges>
  </OrchestrationStep>
    <OrchestrationStep Order="3" Type="SendClaims" CpimIssuerTechnicalProfileReferenceId="JwtIssuer" />
  </OrchestrationSteps>
  <ClientDefinition ReferenceId="DefaultWeb" />
 </UserJourney>


提前感谢。

如果您不想使用注册按钮,请添加以下元数据项


False

非常感谢。我很难找到所有Azure AD b2c自定义策略的文档。你知道指向正确文档的链接吗?这里是指向实际接受元数据列表的链接