diff --git a/lib/SimpleSAML/Auth/Simple.php b/lib/SimpleSAML/Auth/Simple.php index f41e30c4c98e0fd3dd5e8abf928413a7b82ebffd..e81d989977cd2d5308aced6f7c41405ade347e47 100644 --- a/lib/SimpleSAML/Auth/Simple.php +++ b/lib/SimpleSAML/Auth/Simple.php @@ -344,8 +344,7 @@ class Simple $returnTo = Utils\HTTP::getSelfURL(); } - $logout = Module::getModuleURL('core/as_logout.php', [ - 'AuthId' => $this->authSource, + $logout = Module::getModuleURL('core/logout/' . $this->authSource, [ 'ReturnTo' => $returnTo, ]);