3 ms·
There's a lot of material out there explaining what's wrong with JWTs. Two of my recent favourites: https://groups.google.com/g/django-developers/c/6oS9R2GwO4k
by simonw 5y ago
There's a lot of material out there explaining what's wrong with JWTs. Two of my recent favourites:
https://groups.google.com/g/django-developers/c/6oS9R2GwO4k/m/Rep92xfsAwAJ?pli=1 https://groups.google.com/g/django-developers/c/6oS9R2GwO4k/... - on the Django mailing list
https://www.zofrex.com/blog/2020/10/20/alg-none-jwt-nhs-contact-tracing-app/ https://www.zofrex.com/blog/2020/10/20/alg-none-jwt-nhs-cont... - where the punchline is "Writing the code to sign data with a private key and verify it with a public key would have been easier to get correct than correctly invoking the JWT library. In fact, the iOS app (which gets this right) doesn’t use a JWT library at all, but manages to verify using a public key in fewer lines of code than the Android app takes to incorrectly use a JWT library!"