Start with Identity
← Glossary
Protocol

Client Credentials Grant

An OAuth 2.0 flow where an application authenticates as itself, with no user present, to obtain an access token. The standard pattern for machine-to-machine access.

This is the flow behind most service-to-service traffic, and the place where long-lived secrets accumulate. The credential authenticates the application itself, so there is no user to revoke and no session to expire, which makes ownership and rotation the whole ballgame. Prefer workload identity federation where the platform can attest the caller, so no secret exists to leak in the first place.

See also: OAuth 2.0, service account, workload identity, what is non-human identity

Last reviewed By SWI Community TeamSuggest a correctionHow we research