Stop using JWTs
This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).
JWTs are not suitable for managing user sessions in web applications. The JWT spec was designed only for very short-lived tokens, stateless authentication is inherently insecure without significant infrastructure, and the spec itself has known security flaws that experts distrust. Regular cookie-based sessions are a more
Sort: