Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SimpleSAMLphp not redirecting on logout

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.

like image 620
glockner Avatar asked Jun 25 '18 14:06

glockner


1 Answers

I had similar case with solution that implement SAML protocol. I think the analogy may apply. The logout scenario works on two steps.

  1. The first step is to call into IDP server to perform the logout from its prospective.
  2. if IDP successful logout , then , it will redirect to the URL given.

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.

like image 175
Ahmed Bahtity Avatar answered Sep 18 '22 14:09

Ahmed Bahtity