Skip to content
Snippets Groups Projects
Commit 1d41b5c5 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Performing logout before sending LogoutRequest with SAML 2.0.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@854 44740490-163a-0410-bde0-09ae8108e29a
parent 1c4cf526
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,8 @@ if (isset($session) ) {
$httpredirect = new SimpleSAML_Bindings_SAML20_HTTPRedirect($config, $metadata);
$session->doLogout();
SimpleSAML_Logger::info('SAML2.0 - SP.initSLO: SP (' . $spentityid . ') is sending logout request to IdP (' . $idpentityid . ')');
$httpredirect->sendMessage($req, $spentityid, $idpentityid, NULL, 'SingleLogoutService', 'SAMLRequest', 'SP');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment