azure-activedirectory-identitymodel-extensions-for-dotnet
azure-activedirectory-identitymodel-extensions-for-dotnet copied to clipboard
[Feature Request] Add support for DPoP
Is your feature request related to a problem? Please describe. Add support for OAuth 2.0 Demonstrating Proof of Possession (DPoP) because having one token binding standard just isn't enough.
Describe the solution you'd like Any solution should be closely done in collaboration with the HttpClient and ASP.NET folks.
I could imagine an extension method on HttpRequest like request.SignWithDPop(jwk, nonce). Where close integration needs to happen is in server-side nonce cycling, as the response can contain an updated nonce which would need to be plumbed though
Hey - seems you read the spec ;)
Oh - and btw - we implemented all of that already of course
client side piece here: https://github.com/DuendeSoftware/Duende.AccessTokenManagement
and JwtBearer extensions here: https://docs.duendesoftware.com/identityserver/v7/apis/aspnetcore/confirmation/#validating-dpop-proof-of-possession