Auth MechanicsAUTHENTICATION & AUTHORIZATION, FROM THE WIRE UP.
LESSON 26 OF 40

Bind an access token to a client key with Demonstrating Proof of Possession (DPoP).

Demonstrating Proof of Possession (DPoP) binds an access token to a key held by the client. Each protected request includes a fresh signed proof, so a copied token alone is not enough.

Why this lesson?

A client needs protection against someone using a stolen access token. The application programming interface (API) requires a fresh proof signed by the client key on each request.

Learning goal and prerequisites
ONE NEW IDEA Demonstrating Proof of Possession (DPoP) binds an access token to a key held by the client. Each protected request includes a fresh signed proof, so a copied token alone is not enough.
Review the previous lesson if any of these terms are new. The link below opens that lesson.
Request sequence Authorization sequence
STEP 01

Link the token to a key

The client creates a key pair for Demonstrating Proof of Possession (DPoP) and proves possession of the private key when requesting the token. The authorization server binds the issued access token to the corresponding public key.

Inspect request, response, and claims
Traffic inspector Examples only · not real requests
Try a failure scenario

↳ Change a condition

Read the detailed explanation
Key explanation

Why it exists, how it works, and where it fits

A normal bearer access token may be usable by anyone who steals a copy. Demonstrating Proof of Possession (DPoP) reduces that risk by binding the token to a key held by the client. The client must then prove possession of that private key when it uses the token.

The client creates a key pair and uses the private key to sign a DPoP proof. During token issuance, the authorization server connects the access token to the client’s public key. On each protected request, the client creates a fresh proof that covers important request details such as the Hypertext Transfer Protocol (HTTP) method and target address.

The application programming interface (API) verifies the proof, checks that its public key matches the key bound to the token, and performs replay checks on the proof. A copied token by itself is therefore not enough; the attacker also needs the private key.

DPoP is useful for clients that can protect a key but cannot use certificate-based mutual Transport Layer Security. It does not replace Hypertext Transfer Protocol Secure (HTTPS), audience checks, expiration, scopes, or resource authorization. It adds sender proof to a token that still needs all of the normal validation.

Check your understanding
Lesson checkpoint

Pass the lesson quiz

Answer every question correctly to unlock the next lesson. Retry as often as you need.

Glossary Definitions of technical terms