Join our Newsletter — 33% off our NHI Course

Client Token

A client token is a credential that identifies an application or service when it requests access to another system. In IAM, it is usually an OAuth 2.0 access token or similar bearer credential, used to authorize API calls, enforce scopes, and support machine-to-machine authentication with limited, time-bound privileges.

What a client token does

A client token is the credential a software client presents to another system to prove who it is and what it may do. In practice, it is the access token or similar bearer credential that lets an application call APIs, act within defined scopes, and operate without a human user present.

That makes the token a bridge between authentication and authorization. It is not just a string passed in a header, it is the bearer evidence that downstream systems use to decide whether the caller can reach a resource, which operations are permitted, and how much trust to place in the request.

How client tokens fit machine-to-machine access

Client tokens are common in service-to-service and application-to-API communication. They are usually issued for limited audience, limited scope, and limited time, so the receiving system can distinguish a specific client from an arbitrary caller and constrain what that client can access.

In OAuth-based designs, the token often represents delegated access rather than a password. That distinction matters because the token is meant to be scoped to a use case, a resource server, or a specific workflow, rather than becoming a reusable credential for everything the client can reach.

For practical reader context, the OAuth 2.0 core model is defined in RFC 6749: The OAuth 2.0 Authorization Framework, and audience restriction is strengthened by RFC 8707: Resource Indicators for OAuth 2.0.

Why scope, audience, and lifetime matter

The security value of a client token comes from constraint. Narrow scopes reduce what an attacker can do if the token is stolen, audience binding reduces replay against unrelated services, and short lifetimes reduce the window in which a leaked credential remains useful.

When those constraints are weak, the token behaves more like a portable master key than a bounded authorization artifact. That is why bearer tokens should be treated as highly sensitive secret material, even when they are intended only for automated system use.

Strong sender-constraining patterns are described in RFC 8705: OAuth 2.0 Mutual-TLS Client Authentication and Certificate-Bound Access Tokens, and replay resistance is further addressed in RFC 9449: OAuth 2.0 Demonstrating Proof of Possession (DPoP).

Common failure modes and what they reveal

Client token problems usually appear as secret exposure, overbroad permissions, poor rotation, or token reuse across environments. The most damaging failures are the ones that let a token outlive its intended trust boundary, because a stolen token can often be replayed without needing the original system or user again.

That is why token leakage is often an identity problem, an access problem, and an incident-response problem at the same time. Once a token is exposed, the organisation may need to revoke it, trace where it was used, inspect dependent systems for abuse, and determine whether other credentials were reachable through the same path.

For a practical implementation perspective, the API Key Management Guide explains token-style secret lifecycle issues, and the Guide to the Secret Sprawl Challenge covers the broader exposure patterns that often affect credentials of this kind.

How to think about client token governance

A client token should be owned, scoped, rotated, and revoked as an operational credential, not treated as a static configuration value. The main governance question is whether the token is still the least-privilege credential needed for the workload, and whether its lifecycle is actually visible to the teams that depend on it.

Practitioners should also distinguish between authentication strength and authorization design. A strong way to prove a client is only useful if the token itself is constrained, monitored, and replaced when the client’s role changes.

For lifecycle-heavy environments, Guide to NHI Rotation Challenges is useful where token rotation, dependency mapping, and expiry management become operationally difficult. For a broader control lens, RFC 9700: Best Current Practice for OAuth 2.0 Security captures current security expectations for token handling and sender-constrained deployments.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5 and OWASP ASVS set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
NIST SP 800-53 Rev 5 IA-9 — Identification and Authentication (Non-Organizational Users) Client tokens authenticate service clients and API callers in machine-to-machine access.
IA-5 — Authenticator Management Client tokens are bearer authenticators that need issuance, rotation, revocation and storage controls.
AC-6 — Least Privilege Client tokens should carry only the scopes and rights the client actually needs.
Recommendation — Use IA-9 to require strong client authentication for service-to-service token use. Apply IA-5 to manage token lifecycle, rotation and revocation. Constrain token scopes and privileges to the minimum required.
OWASP ASVS V10 — OAuth and OIDC Client tokens are central to OAuth-based authorization flows and token handling.
Recommendation — Verify OAuth token issuance, audience restriction and secure client authentication.