500 Internal Server Error in Azure AD B2C

血红的双手。 提交于 2019-12-11 16:39:18

问题


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

Why?


回答1:


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>


来源:https://stackoverflow.com/questions/48896245/500-internal-server-error-in-azure-ad-b2c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!