JSON Web Token structure

JWT consist of three parts, which are Base64 encoded and separated by dots (.):

header.payload.signature

If you want to play around with JWT, head over to https://jwt.io/ for a token debugger. You can use this tool to generate your own tokens or debug existing tokens:

Generating/debugging a JSON Web Token via jwt.io

Get Learning Redux now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.