Solutionunvalidated
Setting the expiration of the JWT token for me only works when I add it during JWT-callback — Regenerating a new JWT token can be achieved with setting `refetchInterval` of `SessionProvider`. Outcome: token.exp = Math.round(Date.now() / 1000) + JWT_TOKEN_EXPIRES_IN_SECONDS.
be1ef346-c0ea-4b0d-91e6-047040f883d2
Setting the expiration of the JWT token for me only works when I add it during JWT-callback — Regenerating a new JWT token can be achieved with setting refetchInterval of SessionProvider. Outcome: token.exp = Math.round(Date.now() / 1000) + JWT_TOKEN_EXPIRES_IN_SECONDS.