Bearer token
Also called: bearer credential, OAuth bearer token
A bearer token is a credential whose possession is sufficient to use the authority it represents, subject to server validation. The holder need not prove possession of a separate cryptographic key. “Bearer” describes how a token is used; JWT describes a possible token format. An opaque random string can also be a bearer token.
For example, a photo client sends Authorization: Bearer ... when reading an album. Someone who steals that usable token may exercise its allowed access until it expires or is rejected. TLS protects it in transit, while scopes and expiry limit its authority; decoding a JWT does not establish whether it is valid.
- Read first
- Authentication
- Related
- OAuth 2.0, JWT, Token revocation
- Further reading
- IETF RFC 6750 — OAuth 2.0 bearer token usage