The point however is that JWS/JWE is not as flawed as JWT is.
Re:Things to Use Instead of JSON Web Tokens
by CiPHPerCoder on Monday May 08, 2017 @03:11PM
(#14294618)
Yes it is. Most of the problems people point to with JWT exist in JWS or JWE.
The problems with JWT being addressed are in the domain of cryptography designs, so it's natural to criticize the cryptography components.
The other problem with JWT is how people use it: http://cryto.net/~joepie91/blog/2016/06/13/stop-using-jwt-fo...