Skip to content
Snippets Groups Projects
Commit 0f867fb7 authored by Jaime Perez's avatar Jaime Perez
Browse files

Merge branch 'dtsosie-fix-adfs-wreply'. This solves #76.

parents 631e45ea 2489c293
No related branches found
No related tags found
No related merge requests found
...@@ -175,6 +175,13 @@ class sspmod_adfs_IdP_ADFS { ...@@ -175,6 +175,13 @@ class sspmod_adfs_IdP_ADFS {
} }
public static function receiveLogoutMessage(SimpleSAML_IdP $idp) { public static function receiveLogoutMessage(SimpleSAML_IdP $idp) {
// if a redirect is to occur based on wreply, we will redirect to url as
// this implies an override to normal sp notification.
if(isset($_GET['wreply']) && !empty($_GET['wreply'])) {
$idp->doLogoutRedirect(SimpleSAML_Utilities::checkURLAllowed($_GET['wreply']));
assert(FALSE);
}
$state = array( $state = array(
'Responder' => array('sspmod_adfs_IdP_ADFS', 'sendLogoutResponse'), 'Responder' => array('sspmod_adfs_IdP_ADFS', 'sendLogoutResponse'),
); );
......
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