Skip to content
Discussion options

You must be logged in to vote

Hi @daver77,

TL;DR: "Can what I am trying to do be done?" No (but see full answer below).


The immediate error (invalid_dpop_proof - Malformed DPoP token) is because ClientCredentialsTokenRequest.DPoPProofToken expects a signed DPoP proof JWT, not a raw JWK. You're passing DPoP.CreateJsonWebKey() which is the key material itself. The AddClientCredentialsTokenManagement library handles proof token creation automatically in your first flow, which is why that works.

But there's a deeper issue with the architecture. DPoP tokens are sender-constrained. The access token contains a cnf (confirmation) claim that cryptographically binds it to the private key that requested it. Every API call must …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@daver77
Comment options

Answer selected by daver77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants