3 ms·
Isn't it pretty common to read the expiration so you know when to refresh tokens?
by nijave 4y ago
Isn't it pretty common to read the expiration so you know when to refresh tokens?
- bornfreddy 4y agoIt is, among other things like username or user e-mail address. This is also, together with backend scalability, a major selling point for JWTs. Otherwise one might just as well use regular session ids in cookies.