Azure ad b2c Azure B2C,在IDP启动的自定义提供程序配置上未设置对象引用错误

Azure ad b2c Azure B2C,在IDP启动的自定义提供程序配置上未设置对象引用错误,azure-ad-b2c,Azure Ad B2c,我正在处理一个客户项目,我们正在验证客户的IDP解决方案是否存在问题,或者这是一个B2C配置项目。在验证中,我将Azure AD(不同订阅)连接到另一配置上的Azure B2C实例。处理进行得很顺利,但最后我们得到的对象引用没有设置为对象的实例 Azure AD正在向B2C初始化SSO(IDP初始化会话),以模拟客户的解决方案将要执行的操作 我一直在努力追踪对象引用是什么,但没有任何运气。感谢您的帮助 37 { "Kind": "HandlerResult", "Content"

我正在处理一个客户项目,我们正在验证客户的IDP解决方案是否存在问题,或者这是一个B2C配置项目。在验证中,我将Azure AD(不同订阅)连接到另一配置上的Azure B2C实例。处理进行得很顺利,但最后我们得到的对象引用没有设置为对象的实例

Azure AD正在向B2C初始化SSO(IDP初始化会话),以模拟客户的解决方案将要执行的操作

我一直在努力追踪对象引用是什么,但没有任何运气。感谢您的帮助

37
{
    "Kind": "HandlerResult",
    "Content": {
        "Result": true,
        "RecorderRecord": {
            "Values": [
                {
                    "Key": "EnabledForUserJourneysTrue",
                    "Value": {
                        "Values": [
                            {
                                "Key": "CurrentStep",
                                "Value": 5
                            },
                            {
                                "Key": "TechnicalProfileEnabled",
                                "Value": {
                                    "EnabledRule": "Always",
                                    "EnabledResult": true,
                                    "TechnicalProfile": "SAMLAssert"
                                }
                            }
                        ]
                    }
                }
            ]
        },
        "PredicateResult": "True"
    }
}
38
{
    "Kind": "Predicate",
    "Content": "Web.TPEngine.StateMachineHandlers.IsSendClaimsProtocolAnApiHandler"
}
39
{
    "Kind": "HandlerResult",
    "Content": {
        "Result": true,
        "PredicateResult": "False"
    }
}
40
{
    "Kind": "Predicate",
    "Content": "Web.TPEngine.StateMachineHandlers.IsPresentationTokenGeneratedHandler"
}
41
{
    "Kind": "HandlerResult",
    "Content": {
        "Result": true,
        "PredicateResult": "False"
    }
}
42
{
    "Kind": "Action",
    "Content": "Web.TPEngine.StateMachineHandlers.PresentationTokenGenerationHandler"
}
43
{
    "Kind": "FatalException",
    "Content": {
        "Time": "10:04 PM",
        "Exception": {
            "Kind": "Handled",
            "HResult": "80004003",
            "Message": "Object reference not set to an instance of an object.",
            "Data": {}
        }
    }
}   

我在合作伙伴应用程序和Azure B2C之间的SP启动的自定义策略设置中收到了相同的错误,并且能够解决它。对于不熟悉自定义策略疑难解答的任何人,可以在中阅读这些跟踪日志

服务提供者的元数据文件包含一个AssertionConsumerService元素,该元素如下所示

<AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="[SP login response endpoint]"/> 

您是否使用8NG SAML发卡机构?因为我们目前不支持针对SAML颁发者的IDP发起的登录。仅支持SP启动。
<AssertionConsumerService index="0" isDefault="true" Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="[SP login response endpoint]"/>