rokojori-auth-connector/source/server
Rokojori 7fa8811896 feat: jwtMiddleware proactive cookie rotation, AuthPayload iat/exp
jwtMiddleware now rotates the access-token cookie proactively when
within PROACTIVE_REFRESH_MARGIN_SEC (15 min) of real expiry, using the
server's own clock. Removes the need for client-side exp comparison
(impossible anyway for httpOnly cookies). AuthPayload gains iat/exp
fields for callers that need to inspect token lifetime.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-02 22:38:53 +02:00
..
auth.ts feat: jwtMiddleware proactive cookie rotation, AuthPayload iat/exp 2026-08-02 22:38:53 +02:00