diff --git a/www/saml2/idp/SSOService.php b/www/saml2/idp/SSOService.php index da0ab98e20d31a6b45a688ec63b9a1191e2a20a1..10345193e717ddcdd76dcc1ba3049be92ffb2307 100644 --- a/www/saml2/idp/SSOService.php +++ b/www/saml2/idp/SSOService.php @@ -191,7 +191,11 @@ if($needAuth && !$isPassive) { '?RequestID=' . urlencode($authId); $authurl = '/' . $config->getBaseURL() . $idpmetadata['auth']; - SimpleSAML_Utilities::redirect($authurl, array('RelayState' => $redirectTo)); + SimpleSAML_Utilities::redirect($authurl, array( + 'RelayState' => $redirectTo, + 'AuthId' => $authId, + 'protocol' => 'saml2', + )); /** * We got an request, and we have a valid session. Then we send an AuthnResponse back to the