Engineering / ENG-1337
SAML response refused: NotBefore 40 s in the future (Brakeline York)
Description
York's test sign-in failed with "assertion not yet valid" (SUP-583). Entra ID's NotBefore was 40 s ahead of the clock on the UK host that took the response, and we allowed no clock difference at all.
Steps to reproduce
- Local test IdP (
tools/): assertion NotBefore = now + 40 s. - Sign in to a SAML depot.
Expected: signed in. Actual: refused.
Fix
Accept up to two minutes either way, log anything over 30 s, and fix that host's time sync (it had drifted).
Linked issues
- relates to SUP-583 Brakeline: York test sign-in refused, response 'not yet valid' Done
- relates to SUP-388 Brakeline rollout of single sign-on Done
Deployed, host clock fixed. York's test sign-in passes.