Better HN
topnewbestaskshowjobs
Log inSign up

authaway

16 karma · joined Dec 13, 2019 (6y ago) · 1 submissions

Submissions

comment 6y ago · link · parent

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.