3 ms·
Yes, JWTs don't bring anything new to the table. In fact, most articles promoting their use don't even explain why you should use them. This is cargo cult progr
by sprt 8y ago
Yes, JWTs don't bring anything new to the table. In fact, most articles promoting their use don't even explain why you should use them. This is cargo cult programming at its utmost.
- orf 8y agoThere are many ways to do many things. That doesn't make it cargo cult programming. Encoding your claims as a JWT is useful because there are many libraries that work with this, it's a known format (and one that's not tied to any particular transport), and is really good for creating stateless authentication systems using asymmetric keys. If you're interested in the differences between JWTs and something like OAuth (which really are two different things entirely) then you can visit https://google.com https://google.com and type in "JWT vs Oauth2". Answers will appear on your screen.