5 ms·
It is the same problem. My main issue with how it works is that typically tokens (and cookies) are valid until they expires. You browse some service and then it
by AtNightWeCode 3y ago
It is the same problem. My main issue with how it works is that typically tokens (and cookies) are valid until they expires. You browse some service and then it can be used by anybody for hours after that. And the methods for securing JWTs are either more tokens with shorter expiration time, using sessions or token black lists. Which kinda kills the beauty about having signed tokens.