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.