Access Token
An access token is a string of data that an application presents to a protected resource, such as an API, to prove it has been granted permission to access that resource. Rather than repeatedly sending a user's login credentials, the application sends this token with each request. The token typically carries information about what the application is allowed to do and for how long.
In OAuth 2.0, an access token is a credential used by a client to make authorized requests to a resource server on behalf of a principal (per oauth.net). It is an authorization artifact, not proof of user authentication; conflating it with an ID token or with authentication is a common error. The OAuth 2.0 framework does not mandate a particular token format, so access tokens may be opaque strings whose meaning is resolvable only by the issuer or introspection endpoint, or self-contained tokens such as JWTs whose claims (for example scopes, audience, and expiry) can be validated by the resource server. Depending on deployment and profile, tokens are typically signed to ensure integrity, though signing alone does not provide confidentiality unless the token is also encrypted. Access tokens are generally short-lived and, where supported, renewed via a refresh token; exact lifetimes, formats, and validation mechanics vary by vendor and configuration.
Why it matters
Access tokens are the workhorse credential of modern API-driven architectures. By allowing an application to present a token instead of a user's login credentials on every request, they reduce how often raw credentials are transmitted and handled, and they let resource servers make authorization decisions without re-authenticating the user each time. This design underpins delegated access patterns across OAuth 2.0 deployments, where a client acts on behalf of a principal against a resource server.
Because an access token is a bearer artifact in most common deployments, whoever possesses it can typically use it until it expires or is revoked. That makes token handling, transport security, scoping, and lifetime management central security concerns. Access tokens are generally kept short-lived precisely to limit the window of misuse if one is leaked, with renewal handled through refresh tokens where supported. Treating a signed token as if it were also confidential is a common mistake: signing protects integrity, not secrecy, so a token that is not encrypted may expose its claims to anyone who intercepts it.
A frequent and consequential error is conflating an access token with authentication. An access token is an authorization artifact that expresses what a client may do; it is not proof that a user was authenticated, which is the role of an ID token in OpenID Connect. Using an access token as evidence of user identity, or validating it as though it carried authentication guarantees, can lead to broken authorization logic and access decisions that do not hold up under scrutiny.
Who it's relevant to
Inside Access Token
Common questions
Answers to the questions practitioners most commonly ask about Access Token.