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
What's happening
Finding2Chiarelli'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.
flag a problem with BI-FIND-2025-0313
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.
flag a problem with BI-FIND-2025-0314
Section by section
5showing 5 of 5
[1]
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
Why DPoP over mTLS: application layer, no PKI, refresh tokens, FAPI 2.0
Andrea Chiarelli, Auth0 (Okta)
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]
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]
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]
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