Which claims must a DPoP proof contain?

All required claims per Section 4.2 contained in the JWTRFC 9449 §4.3MUSTRoles: authorization_server, resource_server

Requirement as recorded in the ProtocolSoup registry

All required claims per Section 4.2 are contained in the JWT.

Read §4.3 in RFC 9449

Self-test verdict

PassCommit 00bac3fEvaluated

This is ProtocolSoup's result against its own implementation at the commit shown. It is not a certification of ProtocolSoup or of any other product.

Captured from production

Captured Commit 00bac3f

Captured from the deployed ProtocolSoup at the commit shown. Every request and response is shown exactly as sent and received.

Passing exchange

Accepted, as requiredConformance client

The conformance client requests a client_credentials token from /oauth2/token with a DPoP proof whose payload carries jti, htm, htu and iat, plus the nonce the token endpoint issued in an earlier use_dpop_nonce challenge.

Requests from ProtocolSoup’s conformance client, which sends malformed messages on purpose. The hosted wallet never sends these.

  1. 1.POST https://protocolsoup.com/oauth2/token200 OK

    TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2

    Request

    POST /oauth2/token HTTP/2.0
    Authorization: Basic bWFjaGluZS1jbGllbnQ6TTdCa0JKX2lLOEdwNFJlRjFTdkdDcWx1eE1uMnlTcnU=
    Content-Length: 29
    Content-Type: application/x-www-form-urlencoded
    DPoP: eyJhbGciOiJFUzI1NiIsImp3ayI6eyJjcnYiOiJQLTI1NiIsImt0eSI6IkVDIiwieCI6IlBFX24ySTZHNll6M2RHTGhiN0sxclJMbUw3cUE0Mnc5UXdFTWJ1TUliV2ciLCJ5IjoiZWZjc2Yza3U0YU92Snc4ZGQ3U2JPWUF1S1FPcDVhVHlJTE01T2dvWjBCOCJ9LCJ0eXAiOiJkcG9wK2p3dCJ9.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cHM6Ly9wcm90b2NvbHNvdXAuY29tL29hdXRoMi90b2tlbiIsImlhdCI6MTc5NjU2MzU2NiwianRpIjoiYWIwYzAzN2EtMzhlMC00ZDQ1LTk3OTctZDQzYWRkMjAzZDEzIiwibm9uY2UiOiItOTRWVmh5eWpTa2F3WC1hOFJrd04xdWlWZjdfWUNyVCJ9.uUlHgio90KDRHJHr09KZvG5RBZsEulu_mS2iDxD3j_A1SFTyjqPhnQbRtYBW1GalIweG7C6lpq2NGtoONHeT0w
    Host: protocolsoup.com
    User-Agent: ProtocolSoup-Conformance-Client/1
    
    grant_type=client_credentials

    Response

    HTTP/2.0 200 OK
    Cache-Control: no-store
    Cf-Cache-Status: DYNAMIC
    Cf-Ray: a65b9ed76fc63cdb-MSP
    Content-Type: application/json
    Date: Sun, 06 Dec 2026 13:26:07 GMT
    Fly-Request-Id: 01M95RH0P88GR04M5W6X4X964S-ord
    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=%2FbnPCgvFgUSJoL0lhTVPANLoFrOAjhee3Uw2Tdkd%2Bt5g1JvuG1NIHmkRJ%2F9rE%2Bp4Eux2CPvxwijDPpKDqUDA3lLmWXd%2FB61AAM9Rwn7v5gloPXIL0doreCs%2Fa3SCFvv2YA8%3D"}]}
    Server: cloudflare
    Server-Timing: cfCacheStatus;desc="DYNAMIC"
    Server-Timing: cfEdge;dur=5,cfOrigin;dur=248
    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
    
    {"access_token":"eyJhbGciOiJSUzI1NiIsImtpZCI6InJzYS05YTJlNThlYzVjNjk3NGJmIiwidHlwIjoiYXQrand0In0.eyJhdWQiOiJodHRwczovL3Byb3RvY29sc291cC5jb20vb2F1dGgyL3Jlc291cmNlIiwiY2xpZW50X2lkIjoibWFjaGluZS1jbGllbnQiLCJjbGllbnRfbmFtZSI6Ik1hY2hpbmUtdG8tTWFjaGluZSBDbGllbnQiLCJjbmYiOnsiamt0IjoicDU1QWFVcVFvNFZ2NHFoZ2cxbmRmLTRrUmtkT2pxT1dWSWZHejlYclA2USJ9LCJleHAiOjE3OTY1NjcxNjcsImlhdCI6MTc5NjU2MzU2NywiaXNzIjoiaHR0cHM6Ly9wcm90b2NvbHNvdXAuY29tL29hdXRoMiIsImp0aSI6Imp0aS1lN2EyMTU5MjZjZTUyNWQ5IiwibmJmIjoxNzk2NTYzNTY3LCJzY29wZSI6ImFwaTpyZWFkIGFwaTp3cml0ZSIsInN1YiI6Im1hY2hpbmUtY2xpZW50In0.Wo2WltzqvDA_JqWK5nwSZwHj6kIufIwjU7DI1uAoJBFTShboUA8Er1_FLezl-tMcR97EY2OHrRrMN45FWPkB_zdbxJmpdBIVYMrmIre_fs4wt452Ymk6mb7g5wTvtnxBFH-oukpxHK7hIPehxQxPxkoBOHDjpztymXWqJqxgX-fA3aiLoZN8NEAwD2uMIAOIv9wK9S0OTlPcNPr9MUqkn22YjDUX9GWnXAZ5gds9K4x6d9Fw5HEkEwrEzkXSxeTUn4JrQU4h8u_BGFhFvexCE1z9GTDzqU2YDoY-tQ--VXTtUMwEDRKKORdJHgJRR2cl2V8ANgwtjbugQpYKquhJZg","token_type":"DPoP","expires_in":3600,"scope":"api:read api:write"}
    

Failing exchange

Rejected, as requiredConformance client

The conformance client sends four client_credentials token requests to /oauth2/token, each with a correctly signed DPoP proof that carries the server-provided nonce but omits one of jti, htm, htu and iat.

Requests from ProtocolSoup’s conformance client, which sends malformed messages on purpose. The hosted wallet never sends these.

  1. 1.POST https://protocolsoup.com/oauth2/token400 Bad Request

    TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2

    Request

    POST /oauth2/token HTTP/2.0
    Authorization: Basic bWFjaGluZS1jbGllbnQ6TTdCa0JKX2lLOEdwNFJlRjFTdkdDcWx1eE1uMnlTcnU=
    Content-Length: 29
    Content-Type: application/x-www-form-urlencoded
    DPoP: eyJhbGciOiJFUzI1NiIsImp3ayI6eyJjcnYiOiJQLTI1NiIsImt0eSI6IkVDIiwieCI6IjVDdENJN0gxR0x2MlNUdi1QZ05vUWljSUhYdEZLVXBZRF9KRUxqYjVmQ28iLCJ5IjoiQl9GTG9kZHJtMS1PMFpySFdISnZzcE9XSEEyVEN1NjhjTDFQT2djdC1RYyJ9LCJ0eXAiOiJkcG9wK2p3dCJ9.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cHM6Ly9wcm90b2NvbHNvdXAuY29tL29hdXRoMi90b2tlbiIsImlhdCI6MTc5NjU2MzU3MCwibm9uY2UiOiItOTRWVmh5eWpTa2F3WC1hOFJrd04xdWlWZjdfWUNyVCJ9.p6x7i2yytK79rA7fXuEKUrcTuGWBePd-k1wNmWHd9XXBPakxQ9uCZ6TsaLMbuz5qyBAOh-2U4ltCDT32wAU9PQ
    Host: protocolsoup.com
    User-Agent: ProtocolSoup-Conformance-Client/1
    
    grant_type=client_credentials

    Response

    HTTP/2.0 400 Bad Request
    Cache-Control: no-store
    Cf-Cache-Status: DYNAMIC
    Cf-Ray: a65b9ef05f463cdb-MSP
    Content-Type: application/json
    Date: Sun, 06 Dec 2026 13:26:11 GMT
    Fly-Request-Id: 01M95RH4J9D304WD59CBG76ZQ9-ord
    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=eUtLWKJRrOiiSxqZ2xr6w1PUj9k77Qkg6qXmIDEwQo7vD0Vmaam4aQccGOLaZrKzp6%2FE3a%2FrUxNtoUFHKwKSR9V%2Bh8ZyK%2FlAYq4C3hYtbSam2Qc0JbT2Y0y4Gpy8I%2Flx%2Bl4%3D"}]}
    Server: cloudflare
    Server-Timing: cfCacheStatus;desc="DYNAMIC"
    Server-Timing: cfEdge;dur=7,cfOrigin;dur=197
    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
    
    {"error":"invalid_dpop_proof","error_description":"DPoP proof validation failed","error_uri":"https://datatracker.ietf.org/doc/html/rfc9449#section-5"}
    
  2. 2.POST https://protocolsoup.com/oauth2/token400 Bad Request

    TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2

    Request

    POST /oauth2/token HTTP/2.0
    Authorization: Basic bWFjaGluZS1jbGllbnQ6TTdCa0JKX2lLOEdwNFJlRjFTdkdDcWx1eE1uMnlTcnU=
    Content-Length: 29
    Content-Type: application/x-www-form-urlencoded
    DPoP: eyJhbGciOiJFUzI1NiIsImp3ayI6eyJjcnYiOiJQLTI1NiIsImt0eSI6IkVDIiwieCI6IjVDdENJN0gxR0x2MlNUdi1QZ05vUWljSUhYdEZLVXBZRF9KRUxqYjVmQ28iLCJ5IjoiQl9GTG9kZHJtMS1PMFpySFdISnZzcE9XSEEyVEN1NjhjTDFQT2djdC1RYyJ9LCJ0eXAiOiJkcG9wK2p3dCJ9.eyJodHUiOiJodHRwczovL3Byb3RvY29sc291cC5jb20vb2F1dGgyL3Rva2VuIiwiaWF0IjoxNzk2NTYzNTcxLCJqdGkiOiIxNmI5MDYyMS0xMmJkLTQ1ZGMtYTE5NS04Njc5ZjAwNWI4OTYiLCJub25jZSI6Ii05NFZWaHl5alNrYXdYLWE4Umt3TjF1aVZmN19ZQ3JUIn0.LtqTMy8MZTEKGPHVX1s2I5QMSDdgrfhWWsN1wCG20aT_EUL7VYuAYzIKdRC6m0kutlLKEprMqFVtyPWSFUev6g
    Host: protocolsoup.com
    User-Agent: ProtocolSoup-Conformance-Client/1
    
    grant_type=client_credentials

    Response

    HTTP/2.0 400 Bad Request
    Cache-Control: no-store
    Cf-Cache-Status: DYNAMIC
    Cf-Ray: a65b9ef69c253cdb-MSP
    Content-Type: application/json
    Date: Sun, 06 Dec 2026 13:26:12 GMT
    Fly-Request-Id: 01M95RH5HE1RRKM53VPPWGVK42-ord
    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=n4jHwfS6%2FKR2PylBMJTteXKOeW5XQaCYqFwLeLBk71DGPJblYAoUc3VfqzZ6Ibc9MufFkWIVek2tZrVYBKOpyccX2oajzG6Vi0%2FCuzBy1HCKMC2fk%2B2n52A4AeJdZK29JeI%3D"}]}
    Server: cloudflare
    Server-Timing: cfCacheStatus;desc="DYNAMIC"
    Server-Timing: cfEdge;dur=4,cfOrigin;dur=197
    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
    
    {"error":"invalid_dpop_proof","error_description":"DPoP proof validation failed","error_uri":"https://datatracker.ietf.org/doc/html/rfc9449#section-5"}
    
  3. 3.POST https://protocolsoup.com/oauth2/token400 Bad Request

    TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2

    Request

    POST /oauth2/token HTTP/2.0
    Authorization: Basic bWFjaGluZS1jbGllbnQ6TTdCa0JKX2lLOEdwNFJlRjFTdkdDcWx1eE1uMnlTcnU=
    Content-Length: 29
    Content-Type: application/x-www-form-urlencoded
    DPoP: eyJhbGciOiJFUzI1NiIsImp3ayI6eyJjcnYiOiJQLTI1NiIsImt0eSI6IkVDIiwieCI6IjVDdENJN0gxR0x2MlNUdi1QZ05vUWljSUhYdEZLVXBZRF9KRUxqYjVmQ28iLCJ5IjoiQl9GTG9kZHJtMS1PMFpySFdISnZzcE9XSEEyVEN1NjhjTDFQT2djdC1RYyJ9LCJ0eXAiOiJkcG9wK2p3dCJ9.eyJodG0iOiJQT1NUIiwiaWF0IjoxNzk2NTYzNTcyLCJqdGkiOiI4Y2ZkN2JjZi05ODVlLTQwZmQtYjJjMi1mNzk4Y2VjM2Q4ZTIiLCJub25jZSI6Ii05NFZWaHl5alNrYXdYLWE4Umt3TjF1aVZmN19ZQ3JUIn0.52Lep-tWelS8hdDnkpLW-aFUp8Ej7dbsLUjl6nNAt3cSg-trCRLb1h7hHzN5GmOe9sdz5ztwvOjHCAcFdUHZdQ
    Host: protocolsoup.com
    User-Agent: ProtocolSoup-Conformance-Client/1
    
    grant_type=client_credentials

    Response

    HTTP/2.0 400 Bad Request
    Cache-Control: no-store
    Cf-Cache-Status: DYNAMIC
    Cf-Ray: a65b9efce9083cdb-MSP
    Content-Type: application/json
    Date: Sun, 06 Dec 2026 13:26:13 GMT
    Fly-Request-Id: 01M95RH6GRBA93YCK2QRP3F1ZK-ord
    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=u9tkN1DZwxL%2BzxBSfftmnYHMYZGXeu59rfWBnOpj6iN2F0LTps%2BI1Br6ciVuhtX8eQxmjj0yI%2FcvGEo452dS6bmXBzW%2B%2BX8glhOYuCQPs4NbqMV5oQJv5h2BwFXEiYYSvW0%3D"}]}
    Server: cloudflare
    Server-Timing: cfCacheStatus;desc="DYNAMIC"
    Server-Timing: cfEdge;dur=5,cfOrigin;dur=197
    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
    
    {"error":"invalid_dpop_proof","error_description":"DPoP proof validation failed","error_uri":"https://datatracker.ietf.org/doc/html/rfc9449#section-5"}
    
  4. 4.POST https://protocolsoup.com/oauth2/token400 Bad Request

    TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2

    Request

    POST /oauth2/token HTTP/2.0
    Authorization: Basic bWFjaGluZS1jbGllbnQ6TTdCa0JKX2lLOEdwNFJlRjFTdkdDcWx1eE1uMnlTcnU=
    Content-Length: 29
    Content-Type: application/x-www-form-urlencoded
    DPoP: eyJhbGciOiJFUzI1NiIsImp3ayI6eyJjcnYiOiJQLTI1NiIsImt0eSI6IkVDIiwieCI6IjVDdENJN0gxR0x2MlNUdi1QZ05vUWljSUhYdEZLVXBZRF9KRUxqYjVmQ28iLCJ5IjoiQl9GTG9kZHJtMS1PMFpySFdISnZzcE9XSEEyVEN1NjhjTDFQT2djdC1RYyJ9LCJ0eXAiOiJkcG9wK2p3dCJ9.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cHM6Ly9wcm90b2NvbHNvdXAuY29tL29hdXRoMi90b2tlbiIsImp0aSI6Ijc1NzJhMTYwLWYxNTMtNDg1OC1hNjFjLTNlYTBmMDA1MWU2YyIsIm5vbmNlIjoiLTk0VlZoeXlqU2thd1gtYThSa3dOMXVpVmY3X1lDclQifQ.hlzI66YHQoYzLBq8SsPUvO37a6-SREcIfvSJvyjPtuGq2p5Lo-9nVx3UcDnxD4rJf20Wk6fLYWIgJ-dwdzvnUA
    Host: protocolsoup.com
    User-Agent: ProtocolSoup-Conformance-Client/1
    
    grant_type=client_credentials

    Response

    HTTP/2.0 400 Bad Request
    Cache-Control: no-store
    Cf-Cache-Status: DYNAMIC
    Cf-Ray: a65b9f0328383cdb-MSP
    Content-Type: application/json
    Date: Sun, 06 Dec 2026 13:26:14 GMT
    Fly-Request-Id: 01M95RH7GDTSMW0GG8153VRBNJ-ord
    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=qg0uUl10r5E%2BVJTyhs1jXXqr0GibgwRZJxr1vKZnLHhpoCEd4jeLBSMfwTcnlxeu6dH2Q%2Ba37Zlt7uNjnh1VgyKbY5snM3GrZl2k9eC%2BxBEzrUMW%2BiDKVtPB3iwS50R0z7k%3D"}]}
    Server: cloudflare
    Server-Timing: cfCacheStatus;desc="DYNAMIC"
    Server-Timing: cfEdge;dur=19,cfOrigin;dur=197
    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
    
    {"error":"invalid_dpop_proof","error_description":"DPoP proof validation failed","error_uri":"https://datatracker.ietf.org/doc/html/rfc9449#section-5"}
    

Run it live

Looking Glass runs the flow that sends the message this requirement governs, against the same server, and decodes each exchange as it happens.

Open the flow in Looking Glass

Tests

Implementation

Explainer

What this requires

This is check 3 of RFC 9449 Section 4.3. Section 4.2 says "The payload of a DPoP proof MUST contain at least the following claims": jti, htm, htu and iat. Two more become required by context: ath "When the DPoP proof is used in conjunction with the presentation of an access token in protected resource access", and nonce when the server has provided a DPoP-Nonce header.

A proof that lacks any claim required in its context is invalid, however good its signature is. The server does not fill in a default or skip the check that the missing claim would have fed.

Why it exists

Each claim carries one of the proof's guarantees. jti is what replay detection keys on (Section 11.1), htm and htu tie the proof to one method and one URI, iat bounds how long it is accepted, and ath ties it to one access token. A verifier that only checks the claims that happen to be present can be bypassed by leaving a claim out, so the guarantee that claim provides disappears without any check failing.

What non-compliance looks like

A server that checks htu only "if present" accepts a proof with no htu, and that proof can then be sent to any endpoint that trusts the same key. A server that does not insist on jti cannot detect replays of that proof at all.

At a token endpoint the correct response is HTTP 400 with invalid_dpop_proof (RFC 9449 Section 5).

How ProtocolSoup tests it

dpop.ValidateProof requires jti to be a non-empty string and iat to be a NumericDate. A missing htm fails the comparison with the request method and a missing htu fails URI normalisation, so neither can be absent. When the caller passes the access token, which every resource endpoint does, a missing ath fails the hash comparison. When a nonce issuer is configured, an absent nonce is never valid and the endpoint answers with a use_dpop_nonce challenge.

TestValidateProofRejectsMissingJTI deletes jti from an otherwise valid ES256 proof and asserts that validation returns an error. It is the only registry test for this row: no test removes htm, htu or iat on their own, so the other required claims are covered by the code paths above rather than by a dedicated test.

Messages that carry it

Related requirements

All RFC 9449 requirements · OID4VCI protocol page