A JWT is "self-contained", explain what this means and why this is an advantage for authenciation. code example
Example: what is jsonwebtoken
JSON Web Token is an Internet standard for creating data with optional
signature and/or optional encryption whose payload holds JSON that asserts
some number of claims.
The tokens are signed either using a private secret or a public/private key.