500 Internal Server Error in Azure AD B2C

2019-08-18 09:23发布

When I try to execute my sign-up policy I'm receiving:

500 Internal server error screenshot

Why?

1条回答
爷、活的狠高调
2楼-- · 2019-08-18 10:02

I was trying to display the field but I hadn't defined the <UserInputType> node.

<ClaimType Id="extension_HelloWorld">
    <DisplayName>Hello World</DisplayName>
    <DataType>string</DataType>
    <DefaultPartnerClaimTypes>
        <Protocol Name="OAuth2" PartnerClaimType="HelloWorld" />
        <Protocol Name="OpenIdConnect" PartnerClaimType="HelloWorld" />
    </DefaultPartnerClaimTypes>
    <!-- I had the following line commented out -->
    <!--<UserInputType>Readonly</UserInputType>-->
</ClaimType>
查看更多
登录 后发表回答