Skip to content
Snippets Groups Projects
Commit 55e516f6 authored by Olav Morken's avatar Olav Morken
Browse files

idp/SSOService.php: Fix saving of NameID sent to SP.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1638 44740490-163a-0410-bde0-09ae8108e29a
parent c9aa13a1
No related branches found
No related tags found
No related merge requests found
......@@ -425,6 +425,10 @@ if($needAuth && !$isPassive) {
$assertion = sspmod_saml2_Message::buildAssertion($idpMetadata, $spMetadata, $attributes);
$assertion->setInResponseTo($requestID);
$nameId = $assertion->getNameId();
$nameId['value'] = $nameId['Value'];
$session->setSessionNameId('saml20-sp-remote', $spentityid, $nameId);
/* Maybe encrypt the assertion. */
$assertion = sspmod_saml2_Message::encryptAssertion($idpMetadata, $spMetadata, $assertion);
......
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