What does a valid DPoP proof look like?
A DPoP proof is a JWT that a client signs with a private key it chose and sends in the DPoP header of an HTTP request. It shows that the client holds that key, for that one request (RFC 9449 Section 4).
DPoP proofJWT, compact serialization
A real DPoP proof
Issued Commit 834d508
Captured from the deployed ProtocolSoup at the commit shown. The message is shown exactly as it was sent.
eyJhbGciOiJFUzI1NiIsImp3ayI6eyJjcnYiOiJQLTI1NiIsImt0eSI6IkVDIiwieCI6Ii1qUnl1ejFXdzZKWTc4VXREZDJOXzB4aXpkeHduQW9TSDduSDVTLUJkV00iLCJ5IjoiOVJia3JEV1lDeWZwblJGc2dDN0xfQVdHLXc0V05fTmRLV2toYTRQM3BiRSJ9LCJ0eXAiOiJkcG9wK2p3dCJ9.eyJhdGgiOiIycFBHVThGa2xjWGo3V3dYQWp6S2FDM1dsbE9Pa1NlT1Y5cFhsU2tLWlhZIiwiaHRtIjoiR0VUIiwiaHR1IjoiaHR0cHM6Ly9wcm90b2NvbHNvdXAuY29tL29hdXRoMi9yZXNvdXJjZSIsImlhdCI6MTc5NTUxOTUyMCwianRpIjoiNzI2MmE5ZGUtZjlhNS00MDM2LWEwOGEtNGJjZjdkNDVkZGM4Iiwibm9uY2UiOiJQOERJMktyRFVSVjA0V0pTZFVWdGpjemlva2xHN3RCOSJ9.gdCEuRs3CO9oi23VtJ3J-46oMGm4ukkNMeGjh3ZBFw4m6iDua8D3ArpXeaD4SYo387RQEG46oD8YF03F767jsA
Taken from the DPoP header, in the request of exchange 1 below.
Every field, with the specification text that defines it
JOSE Header
{
"alg": "ES256",
"jwk": {
"crv": "P-256",
"kty": "EC",
"x": "-jRyuz1Ww6JY78UtDd2N_0xizdxwnAoSH7nH5S-BdWM",
"y": "9RbkrDWYCyfpnRFsgC7L_AWG-w4WN_NdKWkha4P3pbE"
},
"typ": "dpop+jwt"
}alg"ES256"alg: An identifier for a JWS asymmetric digital signature algorithm from [IANA.JOSE.ALGS]. It MUST NOT be none or an identifier for a symmetric algorithm (Message Authentication Code (MAC)).
jwk{"crv":"P-256","kty":"EC","x":"-jRyuz1Ww6JY78UtDd2N_0xizdxwnAoSH7nH5S-BdWM","y":"9RbkrDWYCyfpnRFsgC7L_AWG-w4WN_NdKWkha4P3pbE"}jwk: Represents the public key chosen by the client in JSON Web Key (JWK) [RFC7517] format as defined in Section 4.1.3 of [RFC7515]. It MUST NOT contain a private key.
typ"dpop+jwt"typ: A field with the value dpop+jwt, which explicitly types the DPoP proof JWT as recommended in Section 3.11 of [RFC8725].
JWT Claims Set
{
"ath": "2pPGU8FklcXj7WwXAjzKaC3WllOOkSeOV9pXlSkKZXY",
"htm": "GET",
"htu": "https://protocolsoup.com/oauth2/resource",
"iat": 1795519520,
"jti": "7262a9de-f9a5-4036-a08a-4bcf7d45ddc8",
"nonce": "P8DI2KrDURV04WJSdUVtjczioklG7tB9"
}ath"2pPGU8FklcXj7WwXAjzKaC3WllOOkSeOV9pXlSkKZXY"When the DPoP proof is used in conjunction with the presentation of an access token in protected resource access (see Section 7), the DPoP proof MUST also contain the following claim: ath: Hash of the access token. The value MUST be the result of a base64url encoding (as defined in Section 2 of [RFC7515]) the SHA-256 [SHS] hash of the ASCII encoding of the associated access token's value.
htm"GET"htm: The value of the HTTP method (Section 9.1 of [RFC9110]) of the request to which the JWT is attached.
htu"https://protocolsoup.com/oauth2/resource"htu: The HTTP target URI (Section 7.1 of [RFC9110]) of the request to which the JWT is attached, without query and fragment parts.
iat1795519520iat: Creation timestamp of the JWT (Section 4.1.6 of [RFC7519]).
jti"7262a9de-f9a5-4036-a08a-4bcf7d45ddc8"jti: Unique identifier for the DPoP proof JWT. The value MUST be assigned such that there is a negligible probability that the same value will be assigned to any other DPoP proof used in the same context during the time window of validity. Such uniqueness can be accomplished by encoding (base64url or any other suitable encoding) at least 96 bits of pseudorandom data or by using a version 4 Universally Unique Identifier (UUID) string according to [RFC4122]. The jti can be used by the server for replay detection and prevention; see Section 11.1.
nonce"P8DI2KrDURV04WJSdUVtjczioklG7tB9"When the authentication server or resource server provides a DPoP-Nonce HTTP header in a response (see Sections 8 and 9), the DPoP proof MUST also contain the following claim: nonce: A recent nonce provided via the DPoP-Nonce HTTP header.
How it was verified
Signature verified when captured
The capture run verified the ES256 signature with the public key in the message's own jwk header parameter. The message carries its own verification key, so no JWK Set is involved.
The exchanges that carried it
The conformance client presents a DPoP-bound access token to GET /oauth2/resource with a DPoP proof it signed for that request. The proof carries ath, the hash of the token, and the nonce the resource issued in an earlier use_dpop_nonce challenge. The resource answered 200.
Requests sent by ProtocolSoup’s conformance client.
Every token in these exchanges was revoked, or had expired, before this page published them.
1.GET https://protocolsoup.com/oauth2/resource200 OK
TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2
Request
GET /oauth2/resource HTTP/2.0 Authorization: DPoP eyJhbGciOiJSUzI1NiIsImtpZCI6InJzYS05YTJlNThlYzVjNjk3NGJmIiwidHlwIjoiYXQrand0In0.eyJhdWQiOiJodHRwczovL3Byb3RvY29sc291cC5jb20vb2F1dGgyL3Jlc291cmNlIiwiY2xpZW50X2lkIjoibWFjaGluZS1jbGllbnQiLCJjbGllbnRfbmFtZSI6Ik1hY2hpbmUtdG8tTWFjaGluZSBDbGllbnQiLCJjbmYiOnsiamt0IjoiZ1k5VHV3UExHX3I2bHo4NzBKanlEQy1ReWJmMTBXcm10bW9Fb2l5aXRISSJ9LCJleHAiOjE3OTU1MjMxMTksImlhdCI6MTc5NTUxOTUxOSwiaXNzIjoiaHR0cHM6Ly9wcm90b2NvbHNvdXAuY29tL29hdXRoMiIsImp0aSI6Imp0aS03NDJhMGJhMjZkZWY2OTg1IiwibmJmIjoxNzk1NTE5NTE5LCJzY29wZSI6ImFwaTpyZWFkIGFwaTp3cml0ZSIsInN1YiI6Im1hY2hpbmUtY2xpZW50In0.sHLQ60iZ7OHmDxyAyHxNRmA2oExY2_ONK8u3ofZfK2_98yNPUD3sTzO0FohVkV1VObUpvMEY7qs_e6YSAX0_QpHepMS3P4YW6qjDXzN6Idr7BZkHEWsTrsBtmoY6Ltd8Rrirg7ozDPsubxRlPk3-GSVKc9ZznGzRVbUTKaB-QsQw6ZdPCXs5YPcsXNkzT-fwt8ClXerS0gQrvXEWC0eUKuajUL1JII6YwhuyttVlAhyUJsWTYuKTORnD3xBx2iwnk6iKRRQ-JjLwRK2ZPQJtpCbunE0c5fQ1QxX6hGwYfBg1oGtlho-5s5ta6Sny3zPwIp0WluC6HQ7pFzH6xNFRbA Dpop: eyJhbGciOiJFUzI1NiIsImp3ayI6eyJjcnYiOiJQLTI1NiIsImt0eSI6IkVDIiwieCI6Ii1qUnl1ejFXdzZKWTc4VXREZDJOXzB4aXpkeHduQW9TSDduSDVTLUJkV00iLCJ5IjoiOVJia3JEV1lDeWZwblJGc2dDN0xfQVdHLXc0V05fTmRLV2toYTRQM3BiRSJ9LCJ0eXAiOiJkcG9wK2p3dCJ9.eyJhdGgiOiIycFBHVThGa2xjWGo3V3dYQWp6S2FDM1dsbE9Pa1NlT1Y5cFhsU2tLWlhZIiwiaHRtIjoiR0VUIiwiaHR1IjoiaHR0cHM6Ly9wcm90b2NvbHNvdXAuY29tL29hdXRoMi9yZXNvdXJjZSIsImlhdCI6MTc5NTUxOTUyMCwianRpIjoiNzI2MmE5ZGUtZjlhNS00MDM2LWEwOGEtNGJjZjdkNDVkZGM4Iiwibm9uY2UiOiJQOERJMktyRFVSVjA0V0pTZFVWdGpjemlva2xHN3RCOSJ9.gdCEuRs3CO9oi23VtJ3J-46oMGm4ukkNMeGjh3ZBFw4m6iDua8D3ArpXeaD4SYo387RQEG46oD8YF03F767jsA Host: protocolsoup.com User-Agent: ProtocolSoup-Conformance-Client/1
Response
HTTP/2.0 200 OK Cache-Control: no-store Cf-Cache-Status: DYNAMIC Cf-Ray: a5f80d709b4dee0c-DFW Content-Type: application/json Date: Tue, 24 Nov 2026 11:25:21 GMT Fly-Request-Id: 01M86MV8K4VRBHFEJXT5ZSM6QY-dfw Nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} Pragma: no-cache Referrer-Policy: strict-origin-when-cross-origin Report-To: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=0Xco1Cg%2F8nZG8xriTG1STJuFXHcy7d%2BQWDcDWX4WIgeIXxRdM9SnVFqJiCowFEB9zBhloyypHfR77AztwQotRzYe5CBoo%2FyVx8Z54fFfq%2BlCSMU0bTzeQhqEh6UaUMXzdds%3D"}]} Server: cloudflare Server-Timing: cfCacheStatus;desc="DYNAMIC" Server-Timing: cfEdge;dur=3,cfOrigin;dur=184 Speculation-Rules: "/cdn-cgi/speculation" Vary: Origin Vary: accept-encoding Via: 1.1 fly.io, 1.1 fly.io X-Content-Type-Options: nosniff X-Frame-Options: DENY X-Xss-Protection: 1; mode=block {"data":"protected resource payload","dpop_bound":true,"scope":"api:read api:write","sub":"machine-client","token_type":"DPoP"}
Run it live
Looking Glass runs the flow that produces this message against the same server and decodes it as it happens.
Open the flow in Looking Glass