NotOnOrAfter
NotOnOrAfter is a time-based condition used in the Security Assertion Markup Language (SAML) for controlling the validity window of a SAML assertion. It appears as part of the SubjectConfirmationData element (and, in broader terms, within the Conditions of an assertion) and indicates the latest time at which the assertion is considered valid. The value is expressed as a UTC timestamp in ISO 8601 format.
When validating a SAML response, a service provider or relying party compares the current time to the
Implementation considerations include accounting for clock skew between systems. Relying parties often apply a small tolerance
Misconfigurations can lead to security or usability issues: setting NotOnOrAfter too tightly may cause valid logins