Skip to content

Menu

DPoP Proof Decoder

Decode an OAuth DPoP proof JWT, verify its signature with the embedded key, check htm, htu, iat and ath, and get the JWK thumbprint. Runs in your browser.

Runs entirely in your browserAuth & SecurityFree, no sign-up
Loading tool
Checks on a DPoP proofThe client signs a short JWT per request with its private key; the tool runs the RFC 9449 section 4.3 checks that a server would, and shows which one fails.ClientServerRequest + DPoP headerJWT signed with client's privatekeyinvalid_dpop_proofdoesn't say which check failedWhat the tool checkstyp is dpop+jwt; alg is asymmetricnone or HS256 → failjwk is a public key; signature verifieshtmequals methodhtuequals URLiatin timewindownoncematches DPoP-NonceathSHA-256 of tokenJWK thumbprintcompare with the token's cnf.jkt
The client signs a short JWT per request with its private key; the tool runs the RFC 9449 section 4.3 checks that a server would, and shows which one fails.

01What is DPoP Proof Decoder?

DPoP Proof Decoder reads and checks OAuth 2.0 DPoP proofs, defined in RFC 9449 (September 2023). DPoP, short for Demonstrating Proof of Possession, binds an access token to a key pair the client holds. With each request the client sends a DPoP header containing a short JWT signed with its private key. The JWT names the HTTP method and URL and, for API calls, includes a hash of the access token. A stolen token alone is then useless without the private key. Debugging DPoP is fiddly, because a server just answers invalid_dpop_proof and doesn't say which of a dozen checks failed. Paste the DPoP header value. Optionally add the request method and URL, the access token and the server's DPoP-Nonce. The tool decodes the header and payload and works through the checks in section 4.3 of the RFC. It checks that typ is dpop+jwt and that alg is an asymmetric algorithm, not none or HS256. It checks that the jwk header holds a public key with no private members. It verifies the signature with that jwk using the Web Crypto API; supported algorithms are ES256, ES384, ES512, RS256-512, PS256-512 and Ed25519 where your browser has it. It checks that jti, htm, htu and iat are present. htm must equal the method exactly, and htu must equal the URL with the query and fragment ignored. nonce must match the one you entered, and iat must be inside a time window you choose. When you give an access token, the tool computes ath, the base64url SHA-256 of the token, and compares it. It also prints the RFC 7638 JWK thumbprint of the key. That is the value an authorization server puts in the token's cnf.jkt claim, and the value a client sends as dpop_jkt. If it differs from the token's jkt, the token is bound to a different key. The RFC's own examples load as samples. The Figure 2 token request proof verifies, and its thumbprint is 0ZcOCORZNYy-DWpqq30jZyJGHTN0d2HglBV3uiguA4I. For the Figure 13 resource request, the access token Kz~8mXK1EalYznwH-LC-1fBAo.4Ljp~zsPE_NeO.gxU gives the expected ath fUHyO2r2Z3DZ53EsNrWBb0xWXoaNy59IiKCAqksmQEo. The tool can't do replay detection on jti, because that needs the server's memory of earlier proofs. It doesn't decode the access token itself either. Proofs and tokens stay in your browser, but treat real tokens with care anyway. Sources: RFC 9449, OAuth 2.0 Demonstrating Proof of Possession (https://www.rfc-editor.org/rfc/rfc9449), sections 4.2, 4.3 and 6.1 and Figures 2, 4, 13 and 14; RFC 7638, JWK Thumbprint (https://www.rfc-editor.org/rfc/rfc7638).

Identity and OAuth developers, API gateway engineers and client SDK authors implementing sender-constrained tokens. The tool runs entirely in your browser, so your data never leaves your device.

02How to use DPoP Proof Decoder

  1. Paste the value of the DPoP request header
  2. Enter the request method and full URL the proof was sent with
  3. Optionally paste the access token, and the DPoP-Nonce if the server issued one
  4. Read the pass and fail list, then compare the JWK thumbprint with the token's cnf.jkt

03Worked examples

Input: RFC 9449 Figure 2 proof, method POST, URL https://server.example.com/token
Result: pass: Well-formed JWT; typ is "dpop+jwt"; alg ES256 is an asymmetric signature algorithm; jwk holds only a public key; Signature verifies; jti, htm, htu and iat are present; htm matches POST; htu matches JWK thumbprint: 0ZcOCORZNYy-DWpqq30jZyJGHTN0d2HglBV3uiguA4I
Output trimmed. The iat check depends on the window you set and the current time.
Input: RFC 9449 Figure 13 proof with access token Kz~8mXK1EalYznwH-LC-1fBAo.4Ljp~zsPE_NeO.gxU
Result: pass: ath equals the SHA-256 hash of the access token (step 12). Expected ath for that token: fUHyO2r2Z3DZ53EsNrWBb0xWXoaNy59IiKCAqksmQEo
The token's hash matches the ath claim in Figure 14.
Input: Figure 13 proof, method POST
Result: fail: htm is "GET", request method is POST (step 8). Methods are case-sensitive.
A proof made for one request can't be reused for another method.
Input: A JWT with typ JWT and alg HS256 (payload {"htm":"GET","iat":1562262618})
Result: fail: typ must be "dpop+jwt", found "JWT" (step 4). fail: HS256 is a symmetric MAC algorithm; DPoP needs an asymmetric signature (step 5). fail: Header has no jwk object. fail: Missing required claims: jti, htu (step 3).
An ordinary JWT is not a DPoP proof.

04Common use cases

  • Finding which check fails when a server answers invalid_dpop_proof
  • Checking that a client library puts the right htm, htu and ath into its proofs
  • Comparing the proof key's thumbprint with the cnf.jkt claim in an access token
  • Learning DPoP from the RFC 9449 examples, step by step
  • Testing an API gateway's DPoP validation with deliberately broken proofs

05Tips

  • htm is case-sensitive: send GET, not get
  • Build htu without the query string or fragment
  • Create a new proof with a fresh jti for every request, and keep the clock in sync for iat
  • ath is the hash of the exact token string, without the DPoP or Bearer prefix

06Related concepts

RFC 9449, DPoP, proof of possession, sender-constrained tokens, JWK thumbprint, OAuth 2.0.

Frequently Asked Questions

What is DPoP Proof Decoder?

DPoP Proof Decoder is a free, browser-based developer tool on AIDToolStack. Decode an OAuth DPoP proof JWT, verify its signature with the embedded key, check htm, htu, iat and ath, and get the JWK thumbprint. Runs in your browser. It requires no installation or sign-up and works entirely in your browser.

Is DPoP Proof Decoder free to use?

Yes. No sign-up, no fees and no usage cap.

Does DPoP Proof Decoder store my data?

No. It runs in your browser; nothing is uploaded.

Related Tools

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…

What changed in AI dev tools, once a month

Renames, shutdowns, pricing changes and new MCP setups, each with a source.

Subscribe