Hi,
I did upgrade from SAML version 2.8.2.0 to 3.3.0.0 and SLO stopped working for me.
Locally I have 2 sites one acting as IdP (siteA) and other as SP (siteB).
I can perform SSO successfully from IdP to SP and vice versa. However, on SLO either from IdP or SP initiated an exception is thrown "A logout response was unexpectedly received."
Here is the flow
- Login to IdP
- SSO to SP
- Successfully logged in to SP
- IdP logout user, then send logout request to SP (SAMLIdentityProvider.InitiateSLO)
- SP receive SLO, logout user, send SLO response back to IdP (SAMLServiceProvider.SendSLO)
- IdP receive SLO response from SP and call to SAMLIdentityProvider.ReceiveSLO and throws an error. (Similarly, when SP initiate SLO, exception is thrown on SAMLServiceProvider.ReceiveSLO, after successfully logged out from SP and IdP)