DPoP nonce required
Code: usedpopnonce
On this page
Code: use_dpop_nonce
- HTTP status: 400 Bad Request
- OAuth
error:use_dpop_nonce - Shown to the end user: DPoP nonce required
Request-specific detail for this error goes to the app or developer (API response, developer view, logs). The public page shows only the short message and the code.
Cause
The token endpoint requires a server nonce in the DPoP proof (RFC 9449 section 8), and the proof had none, or one that expired or was not issued by this server. The answer carries a fresh nonce in the DPoP-Nonce header.
Fix
Sign a new DPoP proof with the DPoP-Nonce header's value as its nonce claim and retry once. Keep the nonce from each token endpoint answer for the next request; a nonce is valid for 5 to 10 minutes. The Tessera SDK token sources do this for you.