我正在SSO SP启动的流程中使用SAML 2.0。我已将注销网址配置为"https://{DNS_name}/adfs/ls/"
,但出现以下错误。
错误:-System.Xml.XmlException:MSIS0006:必需的属性不是 礼物:ID。
注意:-如果我将注销URL配置为"https://{DNS_name}/adfs/ls?wa=wsignoutcleanup1.0"
,则不会收到此错误。
问题:-如果未配置清理部件(?wa = wsignoutcleanup1.0),为什么会出现与ID相关的错误。我没有在注销URL中获得清除部分的重要性。
我已经阅读到“ wsignoutcleanup1.0消息是对依赖方删除指定用户的缓存会话状态的指令。”
完全错误:-联合被动请求期间遇到错误。
其他数据
协议名称:
依赖方:
异常详细信息:System.Xml.XmlException:MSIS0006:必需 属性不存在:ID。在 Microsoft.IdentityServer.Protocols.Saml.SamlProtocolSerializer.ReadCommonAttributes(XmlReader 阅读器,SamlMessage消息) Microsoft.IdentityServer.Protocols.Saml.SamlProtocolSerializer.ReadLogoutRequest(XmlReader 读者) Microsoft.IdentityServer.Protocols.Saml.SamlProtocolSerializer.ReadSamlMessage(XmlReader 阅读器,NamespaceContext上下文)位于 Microsoft.IdentityServer.Protocols.Saml.HttpSamlBindingSerializer.ReadProtocolMessage(String 编码的SamlMessage) Microsoft.IdentityServer.Protocols.Saml.HttpSamlBindingSerializer.CreateFromNameValueCollection(Uri baseUrl,NameValueCollection集合)位于 Microsoft.IdentityServer.Protocols.Saml.HttpPostSamlBindingSerializer.ReadMessage(Uri requestUrl,NameValueCollection表单)位于 Microsoft.IdentityServer.Web.Protocols.Saml.HttpSamlMessageFactory.CreateMessage(WrappedHttpListenerRequest httpRequest) Microsoft.IdentityServer.Web.Protocols.Saml.SamlContextFactory.CreateProtocolContextFromRequest(WrappedHttpListenerRequest 请求,ProtocolContext&protocolContext)) Microsoft.IdentityServer.Web.Protocols.Saml.SamlProtocolHandler.CreateProtocolContext(WrappedHttpListenerRequest 要求) Microsoft.IdentityServer.Web.PassiveProtocolListener.GetProtocolHandler(WrappedHttpListenerRequest 请求,ProtocolContext&protocolContext,PassiveProtocolHandler& protocolHandler),位于 Microsoft.IdentityServer.Web.PassiveProtocolListener.OnGetContext(WrappedHttpListenerContext 上下文)
答案 0 :(得分:0)
由于超出规范,您会收到错误消息。 ?wa
参数定义您要执行的操作,即“此REQUIRED参数指定要执行的操作”。 (Source)。
这不特定于此退出操作,而是任何操作。