How old can a DPoP proof be?

JWT creation time within an acceptable windowRFC 9449 §4.3MUSTRoles: authorization_server, resource_server

Requirement as recorded in the ProtocolSoup registry

The creation time of the JWT, as determined by either the iat claim or a server managed timestamp via the nonce claim, is within an acceptable window.

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 iat is the current time. The proof carries 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: eyJhbGciOiJFUzI1NiIsImp3ayI6eyJjcnYiOiJQLTI1NiIsImt0eSI6IkVDIiwieCI6IjZCM1RlQmY5YjNYQU1iYndyOEpqTmdCU2JOSXcybjQ0c0NEaWFIOWFZLU0iLCJ5IjoiYW1sM2ZveFhuTUk0dGxYUVJDNjBHVlpDOTBKRnI3M0t4c1NTZ214bXZfUSJ9LCJ0eXAiOiJkcG9wK2p3dCJ9.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cHM6Ly9wcm90b2NvbHNvdXAuY29tL29hdXRoMi90b2tlbiIsImlhdCI6MTc5NjU2MzYzMCwianRpIjoiNzM1N2M5NDAtOTM2My00YjM2LWI1MmYtN2M2ODI4OTU3MDVlIiwibm9uY2UiOiItOTRWVmh5eWpTa2F3WC1hOFJrd04xdWlWZjdfWUNyVCJ9.VTadAikD5PodKTj_0LhcfsVVM7daDNJzgLhdZw9l_Fent81zH1hBSQXUTOzbt0kVSBYcg2zI_KmbBlF8N3QMeg
    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: a65ba06759253cdb-MSP
    Content-Type: application/json
    Date: Sun, 06 Dec 2026 13:27:11 GMT
    Fly-Request-Id: 01M95RJZ66P7AZC7CSXJMZ7464-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=n0veb6W61mTAEigJvfy76pBJDnk9Kebg53TM0H%2FEIBOqhAY4rNGMY%2B95YEVDkmQrQK2Rz2ey%2BQ%2FuFpEthXIY7yjU1zde1TbDns9HlahVJ86jon3Tr9BKr9FB65h6BUkfdhc%3D"}]}
    Server: cloudflare
    Server-Timing: cfCacheStatus;desc="DYNAMIC"
    Server-Timing: cfEdge;dur=3,cfOrigin;dur=237
    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.eyJhdWQiOiJodHRwczovL3Byb3RvY29sc291cC5jb20vb2F1dGgyL3Jlc291cmNlIiwiY2xpZW50X2lkIjoibWFjaGluZS1jbGllbnQiLCJjbGllbnRfbmFtZSI6Ik1hY2hpbmUtdG8tTWFjaGluZSBDbGllbnQiLCJjbmYiOnsiamt0IjoiRGhKNVRvNHJydElmc3RKQXg4Q01qdVBoMF81Mk1YbkZwN2JkTW9ObnNBMCJ9LCJleHAiOjE3OTY1NjcyMzEsImlhdCI6MTc5NjU2MzYzMSwiaXNzIjoiaHR0cHM6Ly9wcm90b2NvbHNvdXAuY29tL29hdXRoMiIsImp0aSI6Imp0aS0yNDFhMTc2YmRiNDUzOWRjIiwibmJmIjoxNzk2NTYzNjMxLCJzY29wZSI6ImFwaTpyZWFkIGFwaTp3cml0ZSIsInN1YiI6Im1hY2hpbmUtY2xpZW50In0.Udbaghl9q00FZRc4GrnQcTKwkEjyLTVyt3EagHlsYLvPDQw7LXPuVfqAZyz5KjYbzIGcRoa1App4cyl891mQjVg2mqgjsyO1gAuJpIdhwbdEt-mdE6mBuRwdbAiaK0J2fJaeuhuSNy7l51Mx3JtK5r2bAO0wnBWqNbr7N0FC680DYVfRqazpw06xcG6hK0F7bUIiZvK-RlWW8wTxWSQptCA7mJo9cZtmhcSVmp0iA8KDETPhVtxnhWNxUBAXa0wY7Iz1SQ4vynivxzX8saJFkaCATdWwwrQlazs1p6uqhWfavuhUB1TKkRcQEB8DFmxNp-KTi7MyotPZE7PT5NZyFA","token_type":"DPoP","expires_in":3600,"scope":"api:read api:write"}
    

Failing exchange

Rejected, as requiredConformance client

The conformance client sends two client_credentials token requests to /oauth2/token with otherwise valid DPoP proofs, one whose iat is five minutes in the past and one whose iat is five minutes in the future, both outside the server's 60-second window.

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: eyJhbGciOiJFUzI1NiIsImp3ayI6eyJjcnYiOiJQLTI1NiIsImt0eSI6IkVDIiwieCI6IndWVVNjMHRVR0prOVJ3MWJDMXR6d2Rjc284dVp1NGxoNUhQVGhBLUFRYUkiLCJ5IjoidDh3dVZibHVVRzJ0M0VscFpsc0VTcXloWXFOQzE5RHVrYU1vcjM3SVZIRSJ9LCJ0eXAiOiJkcG9wK2p3dCJ9.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cHM6Ly9wcm90b2NvbHNvdXAuY29tL29hdXRoMi90b2tlbiIsImlhdCI6MTc5NjU2MzMzNCwianRpIjoiYzFmMDc3MTItYmFlZC00NzkzLTg3NDUtMWNkMTQxZDVmODYyIiwibm9uY2UiOiItOTRWVmh5eWpTa2F3WC1hOFJrd04xdWlWZjdfWUNyVCJ9.RxTzurxuW4ND3rszEjbcZGC8xL-RiEvRLKXjPaBWCBZY5fhEmx8k6E83qdq9uh2b9gOX-_t58sVuwVhIKG86UQ
    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: a65ba0805d753cdb-MSP
    Content-Type: application/json
    Date: Sun, 06 Dec 2026 13:27:15 GMT
    Fly-Request-Id: 01M95RK33DQYYEK3XF99YZS6VZ-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=pHnedq3CpVnoz5qQWLiPiRsnksv6QoqkVHCNxLKHPne%2BVtxEB2RwWRxpVuPGRnr4Tkh8VXX8fVO8kWpDA1bFo9%2FlXyAoDzw8ZMgSQYx8tF%2FYefd%2FXqUOt5GHKJi6UlrpV7A%3D"}]}
    Server: cloudflare
    Server-Timing: cfCacheStatus;desc="DYNAMIC"
    Server-Timing: cfEdge;dur=20,cfOrigin;dur=222
    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: eyJhbGciOiJFUzI1NiIsImp3ayI6eyJjcnYiOiJQLTI1NiIsImt0eSI6IkVDIiwieCI6IndWVVNjMHRVR0prOVJ3MWJDMXR6d2Rjc284dVp1NGxoNUhQVGhBLUFRYUkiLCJ5IjoidDh3dVZibHVVRzJ0M0VscFpsc0VTcXloWXFOQzE5RHVrYU1vcjM3SVZIRSJ9LCJ0eXAiOiJkcG9wK2p3dCJ9.eyJodG0iOiJQT1NUIiwiaHR1IjoiaHR0cHM6Ly9wcm90b2NvbHNvdXAuY29tL29hdXRoMi90b2tlbiIsImlhdCI6MTc5NjU2MzkzNSwianRpIjoiNmVjZDQzZGItN2JhNy00YTU5LWE2MTUtZThmNzNmZDJkNmMwIiwibm9uY2UiOiItOTRWVmh5eWpTa2F3WC1hOFJrd04xdWlWZjdfWUNyVCJ9.P-CaIHgmsNzXCOMaK7Xotd3WUh0gFUf008qo-Bl2hyDbOAg2pkOJYC8cwJQR-9fMQY8bQ6wiXBhS6DcNuy7I4A
    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: a65ba08699c13cdb-MSP
    Content-Type: application/json
    Date: Sun, 06 Dec 2026 13:27:16 GMT
    Fly-Request-Id: 01M95RK41CEPMQZAADP9JAX8ME-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=11RXfCgiinA%2FdDDZwDjWSGXIhLoXOXWXWLlFuCeMQmcehJZR6cQhFDNQF%2F4L9lxJxqD01srr7PWHjnx9s4UMoFBPDgeZjoulbSdOIvV%2Bmohp6XvNMZfiKoLEL6e3AxP7OCE%3D"}]}
    Server: cloudflare
    Server-Timing: cfCacheStatus;desc="DYNAMIC"
    Server-Timing: cfEdge;dur=3,cfOrigin;dur=198
    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 11 of RFC 9449 Section 4.3. The server decides when the proof was created, either from its iat claim or from a timestamp the server built into a nonce it issued, and rejects the proof if that time falls outside a window the server accepts. Section 4.3 points to Section 11.1 for what the window should be.

The spec does not fix the window's size. It does say that servers "MAY accept DPoP proofs that carry an iat time in the reasonably near future (on the order of seconds or minutes)" to allow for clock offsets.

Why it exists

Section 11.1 states the reason: a captured proof can be replayed at the same endpoint, so "servers MUST only accept DPoP proofs for a limited time after their creation (preferably only for a relatively brief period on the order of seconds or minutes)." The window also bounds how long a server must remember each jti to detect replays.

What non-compliance looks like

A server that never checks iat accepts a proof minted hours ago, or one stamped days in the future by a client that pre-generated it. Its replay cache then has to hold jti values indefinitely or it lets replays through once an entry expires.

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

How ProtocolSoup tests it

ProtocolSoup uses iat only. Its nonces are random values with no timestamp in them, so they do not take part in this check. dpop.ValidateProof requires iat to be a NumericDate and rejects it if it is more than 60 seconds before or after the server's current time. The replay store keeps each jti until iat plus the same 60 seconds.

TestValidateProofRejectsStaleIat signs a proof with iat 61 seconds in the past and asserts rejection. TestValidateProofRejectsFutureIat signs one with iat 61 seconds in the future and asserts rejection.

Messages that carry it

Related requirements

All RFC 9449 requirements · OID4VCI protocol page