opyeb JWTScope

OPYEB · JWTScope

Token, signature and OAuth guides

Basis 28 Nov 2026 · RFC 7515–7519, RFC 7636, RFC 8037, RFC 9068 and the OWASP JWT guidance

Every guide opens with a worked example and links to the verifier that reproduces it.

Token basics

Token basicsThe three parts of a JWT, byte for byteHeader, payload, signature: what each part isToken basicsDecoding is not verification: what a JWT can and cannot proveWhy a decoded token proves nothing on its ownToken basicsexp, nbf and iat: time claims that decide whether a token worksexp, nbf, iat and the clock-skew allowanceToken basicsiss, aud and sub: the three names that stop a valid token being used in the wrong placeIssuer, audience and subject checks that matterToken basicsA JWT debugging checklist for signature and claim failuresFrom invalid signature to the actual cause

Algorithms

AlgorithmsHS256: one shared secret signs and verifiesHMAC-SHA256 and the shared-secret trade-offAlgorithmsRS256: sign with a private key, verify with a public oneRSA signatures, public keys and key sizeAlgorithmsES256: short signatures, raw r and s, and one encoding trapECDSA P-256 and the r||s encodingAlgorithmsEdDSA and Ed25519: the modern signing choiceEd25519, OKP JWKs and deterministic signaturesAlgorithmsalg none and algorithm confusion: two attacks that still workUnsigned tokens and RS256→HS256 confusion

Keys and flows

Keys and flowsJWKS and key rotation without breaking every tokenkid, caching and a rotation that does not break tokensKeys and flowsPKCE in OAuth 2.0: the verifier, the S256 challenge and the exchangePKCE S256 from verifier to token exchangeKeys and flowsAccess token or ID token: two JWTs with different jobsTwo tokens, two audiences, two sets of rulesKeys and flowsWhere to keep a JWT in a browser: memory, storage or cookieMemory, localStorage or HttpOnly cookieKeys and flowsJWE: when a token must be unreadable, not just signedEncrypted tokens, five segments and their limits

Every guide connects to the verifier, so a claim can be decoded and a signature checked with the key from the article.

Open the verifier
Back to the guides