JWT auth without the confusion

JWTs are everywhere, but they're often misunderstood. Let's strip away the jargon and see what they actually are, how they work, and how to use them safely in your apps.

What is a JWT?

A JWT (JSON Web Token) is just a string with three parts separated by dots:

header.payload.signature