Troubleshooting Tip: How to fix SAML errors where the AuthnRequest IssueInstant is too old or too new
| Description | This article describes how to fix SAML auth errors like 'AuthnRequest IssueInstant too old' or 'AuthnRequest IssueInstant too new'. |
| Scope | FortiAuthenticator 6.X, 7.X. |
| Solution | Time drift or incorrect time/timezone settings on any of the parties, IDP or SP, will cause an authentication failure with the errors below being logged/displayed.
Event log:
Log Details
GUI debug:
2025-04-17T13:06:27.466977+02:00 FortiAuthenticator gui[1710] error fac.home.www-data.FastAPI.apps.saml.views.samlidp __init__ 140290830141184 SP fgt assertion request SamlValidationError: AuthnRequest IssueInstant too old: 2025-04-17T10:06:07Z
'Too new' means IDP's time is behind SP's time:
Log Details
GUI debug:
2025-04-17T13:25:21.795648+02:00 FortiAuthenticator gui[1709] error fac.home.www-data.FastAPI.apps.saml.views.samlidp __init__ 140290830141184 SP fgt assertion request SamlValidationError: AuthnRequest IssueInstant too new: 2025-04-17T14:26:08Z
To fix this issue, both parties must have correct time/timezone settings and use NTP. |

