13 ms·
if your frontend is interrogating the jwt you're doing it wrong
by mosdave 4y ago
if your frontend is interrogating the jwt you're doing it wrong
- nijave 4y agoIsn'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.