Skip to content

JSON Web Tokens vs. Session Cookies: In Practice

ponyfoo.com
7 pointswheresvic11 comment
On HN

Comments

Using JWT in the context of a session based application looks very alluring at first glance (easy scalability in combination with microservices etc.). But JWT gets rather complicated when you have to ensure maximum one session per user in business applications or you need a mechanism to revoke a JWT.

For a detailed discussion see https://news.ycombinator.com/item?id=18353874

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.