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

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

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 support@componentspace.com mentioning your form post.

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