jwt
Installation
SKILL.md
JSON Web Token (JWT)
JWT is a compact, URL-safe means of representing claims to be transferred between two parties. The claims are encoded as a JSON object that is used as the payload of a JSON Web Signature (JWS) or JSON Web Encryption (JWE).
When to Use
- Stateless Authorization Tokens: Transmitting verified user identity and permission claims between microservices without database session lookups.
- OAuth 2.0 / OpenID Connect Bearer Tokens: Serving signed access and ID tokens across distributed web and mobile applications.
- Short-Lived Temporary Access Grants: Generating signed, time-limited tokens for password resets, email verification, or file downloads.
- Decoupled Microservice Verification: Allowing independent microservices to verify token signatures locally using shared public keys (JWKS).
Quick Start
Header.Payload.Signature