HNHacker News
TopNewBestAskShowJobs

authaway

16 karma · joined December 13, 2019

submissionscomments
authaway··on Ask HN: What's the current sentiment on JWT for stateless auth tokens?
JWTs aren't just bad because they embody poor cryptographic engineering, but they are also bad because stateless authentication in itself is poor security engineering for almost every application.

> What solution would you choose today for stateless auth tokens?

Issue token (=random 256 bit string), verify against cached database. If you believe this to be a significant performance issue, you are very likely wrong.