IT lexicon › Security › Access token

Access token

Security På svenska → Updated: 2026-05-24

The short-lived "key" the client sends with every API call to prove it's allowed to do something. Typically a JWT or an opaque string.

Sent in an HTTP header: Authorization: Bearer eyJ0eXAi.... TTL short (5–60 min) so stolen tokens have limited blast radius. To extend the session without prompting for a password: use a refresh token. Two flavours: JWT (self-validating, no DB lookup) or opaque (server must look it up in DB/Redis). Opaque gives faster revocation; JWT gives faster validation.

← Back to the lexicon