Azure AD B2C添加声明登录

时间:2017-09-22 21:59:31

标签: azure-ad-b2c

我添加了

<ClaimType Id="IdType">
  <DisplayName>Identification type</DisplayName>
  <DataType>string</DataType>
  <UserInputType>DropdownSingleSelect</UserInputType>
  <Restriction>
    <Enumeration Text="CC" Value="CC" SelectByDefault="false" />
    <Enumeration Text="CE" Value="CE" SelectByDefault="false" />
    <Enumeration Text="TI" Value="TI" SelectByDefault="false" />
  </Restriction>
</ClaimType>

解释如下:https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-configure-signup-self-asserted-custom。我做了那个例子。

我需要使用带有两个字段的用户名,因此身份验证会使图像低于: enter image description here

在用户个人资料中,我合并了两个字段:Type(ddl字段)和用户名:enter image description here

所以,基本上,我需要实现的是使用两个文件用户名进行身份验证,合并用户名字段中的两个值(因此它是唯一的)。有没有人经历过这个?

0 个答案:

没有答案