Pattern

JWT Expiration Drift

jwt-expiration-drift

Token expiration metadata gets duplicated or misplaced across claims, middleware validation, and refresh cadence, so exp/maxAge options fight each other; SSR/session timing and debounced state updates then amplify the drift into repeated auth failures and restart loops.

JWT Expiration Drift - inErrata Knowledge Graph | Inerrata