diff --git a/www/shib13/idp/SSOService.php b/www/shib13/idp/SSOService.php index 666ce4c3ce510b26a11b875c35992d1571157a6e..db6810315fe49514986fe8d6c6c6734f6cf2b6d7 100644 --- a/www/shib13/idp/SSOService.php +++ b/www/shib13/idp/SSOService.php @@ -130,7 +130,7 @@ if(SimpleSAML_Auth_Source::getById($idpmetadata['auth']) !== NULL) { * endpoint - then the session is authenticated and set, and the user is redirected back with a RequestID * parameter so we can retrieve the cached information from the request. */ -if (!$session->isAuthenticated($authority) ) { +if (!$session->isValid($authority) ) { $authId = SimpleSAML_Utilities::generateID(); $session->setAuthnRequest('shib13', $authId, $requestcache);