Skip to content
IAM Insights

Briefing · Article · source · published · Boston Identity

Auth0's DPoP explainer leaves out the access-token hash that RFC 9449 requires on every API call

Andrea Chiarelli, a developer advocate at Auth0, explains DPoP (RFC 9449), the OAuth standard that ties a token to a key the client holds. Chiarelli's step-by-step account of an API call and of the resource server's checks never mentions ath, the access-token hash the RFC requires. The post also calls a token stolen through cross-site scripting useless; the RFC says so only when the private key cannot be extracted, and warns that script running in the page can still create proofs.

Auth0 Blog · Andrea Chiarelli · August 25, 2025 · read

share
2,682 words. With Andrea Chiarelli, author, Auth0 (Okta).
01

What's happening

Finding2
BI-FIND-2025-0313Lead finding

Chiarelli's DPoP walkthrough never mentions ath, the access-token hash that RFC 9449 says a proof sent with an access token must contain.

Chiarelli's walkthrough of a call to a DPoP-protected API never mentions ath, the hash of the access token. For each API request, the post has the client sign a new proof with a fresh jti and iat and with htm and htu matching the endpoint. Its list of extra checks for the resource server covers the cnf claim, the proof's signature, the key thumbprint, htm and htu, iat and jti. RFC 9449 says a proof sent with an access token "MUST also contain" ath, and checking it against that token is one of the steps the RFC says a server must take. The RFC uses ath to stop one proof being used with other tokens and to limit pre-generated proofs to the token's lifetime. The post's sample proof is for the token endpoint, where no access token is sent yet, so ath is not needed there.

high confidencebest source: vendor, technicalobserved Aug 2025EvidenceSection 4Anatomy of a DPoP proof JWT
flag a problem with BI-FIND-2025-0313
BI-FIND-2025-0314

The post calls tokens stolen through XSS useless under DPoP, while RFC 9449 says DPoP's security is no longer guaranteed once attackers run code in the client.

The post says DPoP makes an access token stolen through cross-site scripting (XSS) "useless", and its conclusion says DPoP "effectively mitigates threats from XSS". The post's XSS case, script that steals the token for use elsewhere, is the one RFC 9449 calls the most straightforward, and there the RFC agrees: with a non-extractable private key, DPoP "renders exfiltrated tokens alone unusable". The RFC goes on to say that when an attacker can run code in the client, "the security of DPoP is no longer guaranteed", and that even a key that cannot be exported can still be used to create new proofs while the client is online. The post does not say the key must be non-exportable, and it does not cover script that stays in the page.

medium confidencebest source: vendor, technicalobserved Aug 2025EvidenceBeyond bearer tokensSection 5Section 4
flag a problem with BI-FIND-2025-0314
02

Section by section

5

showing 5 of 5

[1]

Beyond bearer tokens: the theft scenarios DPoP targets

Andrea Chiarelli, Auth0 (Okta)

Standards

Chiarelli calls a leaked RFC 6750 bearer token a 'golden ticket' and presents DPoP (RFC 9449) as the sender-constraining fix, also 'recommended' by the OAuth 2.0 Security BCP. The post argues three theft cases in prose: XSS, leaked logs or databases, and malicious browser extensions. It offers no incident data, and its XSS case is script that steals the token; script that stays in the page and asks the client for proofs goes unmentioned.

opinionfrom published text

[2]

Why DPoP over mTLS: application layer, no PKI, refresh tokens, FAPI 2.0

Andrea Chiarelli, Auth0 (Okta)

StandardsCIAM

Chiarelli contrasts DPoP with mTLS. DPoP is a JWT in an HTTP header, survives proxies that terminate TLS and needs no PKI or certificate authority, so the post presents it as the fit for SPAs and mobile apps. Refresh tokens issued to public clients are bound too, while confidential clients are 'implicitly sender-bound'. The post calls DPoP one of the mechanisms FAPI 2.0 allows and points to Auth0's FAPI 2.0 support through Highly Regulated Identity. It is a vendor's comparison with no measurements.

opinionfrom published text

[3]

Anatomy of a DPoP proof JWT

Andrea Chiarelli, Auth0 (Okta)

Standards

Chiarelli walks through the proof JWT: header typ dpop+jwt, an asymmetric alg (e.g., ES256) and the public jwk; payload jti, htm, htu and iat, plus a nonce the authorization or resource server can ask for. Servers 'should' track jti values and reject old iat. The sample proof is for the token endpoint, where no access-token hash (ath) is needed, and the claim list never says ath is required on API calls.

technical artifactfrom published text

[4]

Requesting and using a DPoP-bound access token

Andrea Chiarelli, Auth0 (Okta)

Standards

Two sequence figures and HTTP samples set the order. The client makes a key pair and signs a proof for POST /oauth/token, and the authorization server issues a token whose cnf.jkt holds the key's SHA-256 thumbprint. Each API call carries a fresh proof and 'Authorization: DPoP <token>'. The resource server checks cnf, the signature, the thumbprint, htm/htu, iat and jti; neither the API-call step nor this list mentions ath.

technical artifactfrom published text + figures

[5]

Conclusion: the end of bearer-only for sensitive data

Andrea Chiarelli, Auth0 (Okta)

StandardsCIAM

Chiarelli concludes that relying solely on bearer tokens is 'drawing to a close' for sensitive-data applications, and that DPoP mitigates XSS, compromised-device and log-leak theft without the infrastructure mTLS needs. Auth0's built-in support, the post says, makes it 'no longer a daunting task'. It gives no dates, versions, adoption numbers or Auth0 setup steps.

opinionfrom published text

Terms used

DPoP
A way to bind an OAuth access token to the specific key that requested it: the client signs a fresh proof for every call, so a stolen bearer token is useless to whoever steals it without also holding the matching private key.
OAuth
The web's standard framework for delegated authorization — letting one application act at another on a user's (or machine's) behalf without sharing passwords.
Application programming interface
Application programming interface: a defined way for software components to request operations or exchange data.
Resource server
In OAuth, the API that holds the protected data and accepts access tokens.
RFC
Request for Comments: the numbered document series in which the Internet Engineering Task Force publishes internet specifications, from standards such as RFC 8693 to informational notes. A draft is not an RFC.
Cross-site scripting (XSS)
An attack where a site is tricked into running an attacker's script in a visitor's browser, which can then read tokens held in the page and act as the visitor.
Access token
An OAuth 2.0 credential, usually an opaque string, representing a specific scope and lifetime of access that the resource server enforces when a client presents it.
Confirmation (cnf) claim
A field in a token naming the key whose holder may use it; chaining one token's cnf key to the signer of the next is how delegation chains are built.

Read next

Was this briefing useful?

Share this briefing

Every finding, forecast and open question on this site has a permanent ID. If we reword one, its ID stays the same, so a citation keeps pointing to the same claim.

Follow us on LinkedInRSS feed

Working on an identity problem this research touches? Talk to Boston Identity