Sender-constrained tokens
Binding tokens to a key or certificate so a stolen token is useless on its own: DPoP and mutual TLS.
Start with Binding a token to a key
- Binding a token to a keySee how DPoP binds an access token to a key pair the client holds, so a copied token is useless without the private key that never leaves the device.
- Creating a DPoP proofBuild the signed proofs a client sends to the token endpoint and to an API, and compute the JWK thumbprint and access token hash they rely on.
- Validating proofs at the serverFollow the checks an authorization server and an API make on DPoP proofs, how refresh tokens and pushed requests stay bound, and why a bound token sent as Bearer must fail.
- Nonces and replay handlingLimit what a captured DPoP proof allows with time windows, identifier tracking, and server-provided nonces, and see what DPoP cannot protect against, especially in a browser.
- Authenticating a client with a certificateAuthenticate a confidential client with a TLS client certificate, compare the PKI and self-signed methods, and see why mutual TLS gets separate endpoint addresses.
- Certificate-bound access tokensBind an access token to the client certificate used to obtain it, check the binding at the API, bind a public client's tokens, forward certificates safely through proxies, and compare with DPoP.
- Certificate rotation and validationRenew client certificates without breaking authentication or bound tokens, monitor expiry and leaks, see what an authorization server validates, and choose a sender constraint for each kind of client.