JWT Glossary
Every JWT term defined with examples and links to tools.
-
JWT
JSON Web Token — a compact, URL-safe token format (header.payload.signature) used to transmit claims
-
JWS
JSON Web Signature — the signed JWT format defined in RFC 7515. Most JWTs in production are JWS toke
-
JWE
JSON Web Encryption — an encrypted token format (RFC 7516) where the payload is encrypted, not just
-
JWK
JSON Web Key — a JSON data structure representing a cryptographic key. Used in JWKS documents for RS
-
JWKS
JSON Web Key Set — a JSON document containing an array of public keys (JWKs). OIDC providers publish
-
Claim
A name/value pair inside the JWT payload. Registered claims (exp, sub, iss) are standardized; privat
-
Header
The first segment of a JWT, Base64URL-encoded JSON typically containing alg (algorithm) and typ (tok
-
Payload
The second segment of a JWT containing claims — user ID, roles, expiration, issuer, and custom data.
-
Signature
The third segment of a JWT, created by signing header.payload with a secret (HS256) or private key (
-
alg
Algorithm header claim specifying how the signature was created (e.g. HS256, RS256, ES256). Must mat
-
exp
Expiration Time claim — Unix timestamp after which the token must be rejected. Always validate serve
-
iss
Issuer claim — identifies who created the token, usually your auth server URL. Validate against expe
-
aud
Audience claim — identifies intended recipients (API identifier or client ID). Prevents token misuse
-
sub
Subject claim — unique identifier for the user or entity the token represents.
-
iat
Issued At claim — Unix timestamp when the token was created. Useful for freshness checks and debuggi
-
nbf
Not Before claim — Unix timestamp before which the token must not be accepted. Prevents premature us
-
jti
JWT ID claim — unique token identifier for revocation lists and replay prevention.
-
kid
Key ID header parameter — references which key in a JWKS was used to sign the token.
-
HS256
HMAC-SHA256 symmetric signing algorithm. Same secret signs and verifies. Simple but requires secure
-
RS256
RSA-SHA256 asymmetric signing. Private key signs; public key verifies. Standard for OIDC and enterpr
-
ES256
ECDSA with P-256 and SHA-256. Compact keys, widely used by Apple, Google, and modern OIDC providers.
-
Base64URL
URL-safe Base64 encoding used in JWTs. Replaces +/ with -_ and omits padding. Not encryption — anyon
-
Bearer Token
HTTP Authorization scheme where the client sends Authorization: Bearer <token>. Whoever holds the to
-
Access Token
Short-lived token authorizing API access. OAuth 2.0 access tokens are often JWTs but can be opaque s
-
Refresh Token
Long-lived token used to obtain new access tokens without re-authentication. Must be stored securely
-
ID Token
OpenID Connect token containing user identity claims. Always a JWT. Not used for API authorization —
-
OpenID Connect (OIDC)
Identity layer on OAuth 2.0. Adds ID tokens, standardized claims, and discovery endpoints including
-
OAuth 2.0
Authorization framework for delegated access. Often issues JWT access tokens but does not require JW
-
Scope
OAuth permission string (e.g. openid profile email) defining what access a token grants.
-
Token Endpoint
OAuth endpoint (/oauth/token) where clients exchange credentials or codes for access and refresh tok
-
Clock Skew
Small time difference between servers. JWT libraries typically allow 30–60 seconds leeway on exp/nbf
-
none Algorithm Attack
Security vulnerability where attackers set alg:none to bypass signature verification. Always reject
-
Key Rotation
Periodic replacement of signing keys. JWKS may contain multiple keys; kid header identifies the acti
-
Token Revocation
Invalidating tokens before expiry via blocklists, short TTLs, or refresh token rotation. JWTs are st
-
PKCE
Proof Key for Code Exchange — OAuth extension preventing authorization code interception. Required f
-
.well-known
Standard path for OIDC discovery (/.well-known/openid-configuration) and JWKS (/.well-known/jwks.jso
-
RFC 7519
The IETF standard defining JSON Web Token (JWT) structure and registered claims.
-
RFC 7515
The IETF standard for JSON Web Signature (JWS) — how JWT signatures are created and verified.
Explore More
Visit our JWT Decoder, Guides, Glossary, Resource Directory, or Learning Path.