JWT Guides
Technical guides to JSON Web Tokens, written for developers who need a working answer: how tokens are built and verified, why a token is being rejected, how to implement JWT authentication in your framework, and how to keep it secure. Each guide links to the JWT decoder, which runs entirely in your browser.
Fundamentals
What a JWT is, how its three parts fit together, and what verification actually proves.
Debugging & Code
Tracking down rejected tokens and decoding or verifying JWTs in code.
Algorithms
Choosing and implementing HS256, RS256, ES256 and PS256, and the algorithm pitfalls to avoid.
Concepts & Claims
Individual claims and headers in depth: expiry, audience, scopes, roles, kid and JWKS.
Keys & Tooling
Generating secrets and key pairs, and working with JWTs from the command line, curl and Postman.
Comparisons
How JWTs relate to OAuth, SAML, API keys, bearer tokens, sessions and encrypted tokens.
Framework Guides
Implementing JWT authentication in Node.js, Next.js, FastAPI, Django, Spring Boot and ASP.NET Core.
Identity Providers
Validating tokens issued by AWS Cognito and Microsoft Entra ID.
Security & Architecture
Attacks, storage, refresh, logout and revocation, WebSockets and microservices.