r/SoftwareEngineering • u/fagnerbrack • Aug 16 '26
Stop using JWTs
https://gist.github.com/samsch/0d1f3d3b4745d778f78b230cf6061452
0
Upvotes
r/SoftwareEngineering • u/fagnerbrack • Aug 16 '26
View all comments
9
u/mattgen88 Aug 16 '26
JWTs are an answer for distributed authorization at scale. Sessions are costly to scale. There's trade offs, and this article is sorely lacking in any detail or analysis of why you would want to use JWTs over sessions and the reason JWTs are often chosen.