SimpleSAMLphp is not redirecting me to my ReturnTo address the first time, it takes me to my IdP's logout page. If I click the logout link again, it takes me to my correct ReturnTo page. Any ideas on why this may be happening?
I am using $as->logout("http://myurl.com");
to process the logout.
I had similar case with solution that implement SAML protocol. I think the analogy may apply. The logout scenario works on two steps.
The obvious reason is that IDP logout is not successful.
You should check errors in the login process or corruption in the login data after login.
I hope this help.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With