Skip to content
Snippets Groups Projects
Commit 96ef0143 authored by John Gasper's avatar John Gasper
Browse files

Making the AuthnInstant available in the state array as saml:AuthnInstant and...

Making the AuthnInstant available in the state array as saml:AuthnInstant and adding that to PersistentAuthData
parent ccfcffe1
No related branches found
No related tags found
No related merge requests found
......@@ -231,6 +231,8 @@ $state['LogoutState'] = $logoutState;
$state['saml:AuthenticatingAuthority'] = $authenticatingAuthority;
$state['saml:AuthenticatingAuthority'][] = $idp;
$state['PersistentAuthData'][] = 'saml:AuthenticatingAuthority';
$state['saml:AuthnInstant'] = $assertion->getAuthnInstant();
$state['PersistentAuthData'][] = 'saml:AuthnInstant';
$state['saml:sp:SessionIndex'] = $sessionIndex;
$state['PersistentAuthData'][] = 'saml:sp:SessionIndex';
$state['saml:sp:AuthnContext'] = $assertion->getAuthnContext();
......@@ -252,7 +254,5 @@ if (isset($state['SimpleSAML_Auth_Source.ReturnURL'])) {
}
$state['PersistentAuthData'][] = 'saml:sp:prevAuth';
$state['AuthnInstant'] = $assertion->getAuthnInstant();
$source->handleResponse($state, $idp, $attributes);
assert('FALSE');
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