Skip to content

Commit 8212ca7

Browse files
committed
Do not include NotBefore-attribute: it is not allowed by specifications (authnrequest profile)
1 parent fd50471 commit 8212ca7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/saml/src/IdP/SAML2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1298,7 +1298,7 @@ private static function buildAssertion(
12981298
}
12991299

13001300
$conditions = new Conditions(
1301-
notBefore: SAMLDateTimeValue::fromDateTime($now->sub(new DateInterval('30s'))),
1301+
notBefore: null,
13021302
notOnOrAfter: SAMLDateTimeValue::fromDateTime(
13031303
$now->add(new DateInterval(sprintf('%ds', $assertionLifetime))),
13041304
),

0 commit comments

Comments
 (0)