Forums, Documentation & Knowledge Base - ComponentSpace

[ERR] Receiving an SSO response from a partner identity provider has failed.


https://componentspace.com/forums/Topic12133.aspx

By jitendra.singh - 6/26/2022

Hi Team, 
I am sometimes I am getting below errer in logs, When I try to login using SSO.

[ERR] Receiving an SSO response from a partner identity provider has failed.
ComponentSpace.Saml2.Exceptions.SamlProtocolException: An SP-initiated SAML response from https://xxx.xxxxxx.net/xxxxxxx-d24d-4ad8-9f92-cb716737xxxx was received unexpectedly.
at ComponentSpace.Saml2.SamlServiceProvider.CheckInResponseTo(String inResponseTo)
at ComponentSpace.Saml2.SamlServiceProvider.ProcessSamlResponseAsync(XmlElement samlResponseElement, String relayState)
at ComponentSpace.Saml2.SamlServiceProvider.ReceiveSsoAsync()

Please provide solutions.

Best Regards
Jitendra
By ComponentSpace - 6/26/2022

Hi Jitendra,

We use a saml-session cookie to maintain SAML session state. It's possible this cookie isn't being sent by the browser along with the SAML response.

Please ensure you use https rather than http for all traffic as the cookie is marked as secure.

If there's still an issue, please enable our SAML trace and send the generated log file as an email attachment to [email protected] mentioning your form post.

https://www.componentspace.com/forums/7936/Enabling-SAML-Trace