liveBook · Manning

Sender-constrained token

As explained in Secure APIs

A sender-constrained token is a token cryptographically or transport-layer bound to a particular legitimate presenter so that possession alone is insufficient for its use.

A sender-constrained token is an access token bound to its legitimate presenter. If the token leaks, possession alone is not enough to use it against an API. section 7.5

This protects the user’s permissions from attackers who steal access tokens. The API verifies proof that the request comes from the legitimate token holder, rather than trusting the token alone. section 7.5

Use either of the OAuth 2.1 binding approaches:

FAPI 2.0 access-token protection

A financial-grade API requires sender-constrained tokens so an attacker cannot use another user’s stolen access token. The token is bound through mTLS or accompanied by DPoP proof. section 10.4

How Secure APIs covers it

How deep it goes
Explains the leaked-token threat and two binding methods, but does not provide implementation code or validation procedures.
Examples
Uses FAPI 2.0, certificate-bound tokens, and per-request DPoP proofs as concrete applications.
What it assumes
Assumes access tokens and API authentication, while explaining token ownership protection from basic security concerns.
What you can do after
Apply it via mTLS or DPoP to require proof of token ownership during API access.
How it connects
Connects access tokens with OAuth 2.1, mTLS, DPoP, JWTs, authentication, and authorization.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Secure APIs. The section links point to the parts of the book it draws on.