JWTs Explained: Structure, Claims, Signing and Common Mistakes
A JSON Web Token is three Base64url strings and a signature. Here's how the header, claims and signing algorithms work, the vulnerabilities that keep recurring, and where to store tokens in a browser.