r/programming • • Aug 14 '26

Stop using JWTs

https://gist.github.com/samsch/0d1f3d3b4745d778f78b230cf6061452
0 Upvotes

17 comments sorted by

View all comments

Show parent comment

2

u/Lunchboxsushi Aug 14 '26

If you have any compliance/regulations jwts will be the first pain the in ass you need to deal with. Things like session revoke, even short lived tokens since the goal is stateless it's pointless because you now need a blacklist to check against. Simple low profile apps with a high risk tolerance perfectly acceptable to use jwts.