iamops.dev
Argo on X RSS feed
ENEnglish

Tools

DPoP proof builder and checker

Build a DPoP proof with a key that lives only in this page, or paste one to check. I verify the signature against the embedded key and compare method, URL, nonce and token hash.

Runs in your browser. Nothing you paste leaves your device.

Runs in your browser. Nothing you paste is sent anywhere. Don't paste production private keys.

The page makes no network request while you work. The only exceptions are the buttons that say Fetch, which call the address you type. Keep real private keys out of any web page, including this one.

How to get the input
  1. Open DevTools > Network, run the flow and select the token request or the API call.Chrome DevTools: Network
  2. Under Request Headers, copy the value of the DPoP header. For the ath and cnf.jkt checks, also copy the token after Authorization: DPoP.
  3. On a server, log the DPoP header before validation, never the private key. Or use the builder above to make a proof for a URL you choose.RFC 9449

Use a test account and throwaway keys. Do not paste production secrets, session cookies or real users' tokens.

What can I paste here#

To check a proof, paste a DPoP JWT (typ dpop+jwt), plus the HTTP method and URL it was built for. You can also paste an access token to check ath, and a nonce. The builder needs no pasted key: it creates one in the page.

DPoP proof builder and checker

Build a proof

I generate an ES256 key with Web Crypto and keep it in this page's memory only. Reloading the page drops it.

Check a proof

Samples are made with throwaway keys and example.test names. They mean nothing outside this page.

How to read the result#

What it does not do#

Questions people ask#

What can I paste here

To check a proof, paste a DPoP JWT (typ dpop+jwt), plus the HTTP method and URL it was built for. You can also paste an access token to check ath, and a nonce. The builder needs no pasted key: it creates one in the page.

What does a DPoP proof contain?

A JWT with typ dpop+jwt, the public key in the header, and claims for the HTTP method, the URL, the time and, for resource calls, a hash of the access token.

What is the jkt thumbprint?

It is the SHA-256 thumbprint of the proof key. The authorization server binds the access token to it in the cnf claim, so a stolen token is useless without the key.

How do I create a DPoP proof for testing?

Enter the method and URL in Build a proof and press Build proof. The page generates a P-256 key in your browser, signs the proof and shows the jkt you would see in cnf.jkt.

Related articles#

The newest posts and labs on the same topic, picked automatically.