Token Introspection
Token introspection is a way for a service that holds protected data to ask the system that issued a token whether that token is still valid and what it represents. Instead of trying to decode the token itself, the service sends it to a dedicated endpoint and receives back a simple answer about whether the token is active, along with related details. This helps the service decide whether to allow a request.
Token introspection, defined by RFC 7662, is an OAuth 2.0 mechanism in which a protected resource (typically a resource server) queries the authorization server's introspection endpoint to determine the active state of a supplied token and to retrieve associated metadata, such as scope, client identifier, subject, and expiry, depending on what the authorization server chooses to return. It is primarily used to validate access tokens, and in some implementations refresh tokens, at request time; per RFC 7662 the token type is not restricted to a particular kind. Introspection is especially relevant for opaque (identifier-based) tokens that the resource server cannot validate locally, in contrast to self-contained tokens such as signed JWTs that may be validated without a round trip. Note that introspection returns token metadata for authentication of the token itself and for input into an authorization decision, but the returned data and its granularity vary by authorization server configuration and profile; the introspection response format and available claims depend on the deployment.
Why it matters
Token introspection addresses a fundamental problem in delegated authorization: a resource server must decide whether to honor an incoming request, but it does not always have the means to validate the presented token on its own. This is most acute with opaque, identifier-based tokens, which carry no self-describing metadata and cannot be verified locally. Introspection gives the resource server an authoritative source of truth by querying the authorization server directly, so access decisions rest on the issuer's current view of a token rather than on stale or unverifiable local assumptions.
The mechanism also matters for revocation and freshness. Self-contained tokens such as signed JWTs can typically be validated without a round trip, but that same property means a resource server may accept a token that the authorization server has already revoked, until it expires. Because introspection consults the authorization server at request time, it can reflect a token's current active state as determined by that server. This makes it valuable in deployments where timely revocation, session termination, or dynamic status checks are priorities, though it does so at the cost of a network dependency and additional latency per validated request.
Because the introspection response and its available claims vary by authorization server configuration and profile, teams should treat introspection as one input into an authorization decision rather than a complete decision by itself. The returned metadata authenticates the token and describes what it represents; how much detail is exposed, and which token types are supported, depends on the deployment. Architects should verify what a given authorization server actually returns before designing enforcement logic around specific fields.
Who it's relevant to
Inside Token Introspection
Common questions
Answers to the questions practitioners most commonly ask about Token Introspection.
