From ccfcffe171ab2f0a0d345d23c4c3751141c936df Mon Sep 17 00:00:00 2001 From: John Gasper <jtgasper3@gmail.com> Date: Tue, 22 Aug 2017 16:38:32 -0700 Subject: [PATCH] Making the AuthnInstant available in the state array --- modules/saml/www/sp/saml2-acs.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/saml/www/sp/saml2-acs.php b/modules/saml/www/sp/saml2-acs.php index 194e00954..6ac1496f5 100644 --- a/modules/saml/www/sp/saml2-acs.php +++ b/modules/saml/www/sp/saml2-acs.php @@ -252,5 +252,7 @@ if (isset($state['SimpleSAML_Auth_Source.ReturnURL'])) { } $state['PersistentAuthData'][] = 'saml:sp:prevAuth'; +$state['AuthnInstant'] = $assertion->getAuthnInstant(); + $source->handleResponse($state, $idp, $attributes); assert('FALSE'); -- GitLab