From 07201c0d7eefe1ff17ab4a6d3b109aede604aa6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no> Date: Wed, 28 May 2008 07:57:44 +0000 Subject: [PATCH] Adding AuthId and protocol as parameter to login modules when logging in with SAML 2.0 git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@582 44740490-163a-0410-bde0-09ae8108e29a --- www/saml2/idp/SSOService.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/www/saml2/idp/SSOService.php b/www/saml2/idp/SSOService.php index da0ab98e2..10345193e 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 -- GitLab