A JSON Web Token (JWT) is a compact, URL-safe, self-contained token that carries claims about a user. The server signs it once; afterwards it can verify the token on every request without a database lookup — that is what makes JWT-based auth stateless.
Structure: three base64url parts
A JWT is header.payload.signature, three base64url-encoded segments joined by dots:
