Open egeldenhuys opened 6 years ago
See RFC 7519
Field name: exp Data: Unix time when the token expires
exp
I can't find any sources recommending the lifetime, so lets use an arbitrary value of 1 hour. If this causes inconvenience we can extend the lifetime and introduce 2FA for privileged operations
{ "username": "fred", "iat": 1516239022, "exp": 1516240000 }
See RFC 7519
Field name:
exp
Data: Unix time when the token expiresI can't find any sources recommending the lifetime, so lets use an arbitrary value of 1 hour. If this causes inconvenience we can extend the lifetime and introduce 2FA for privileged operations
JWT Schema