github DuendeSoftware/foss imoc-7.0.0-preview.2
Duende.IdentityModel.OidcClient 7.0.0 Preview 2

pre-releaseone day ago

This is a preview release which contains a bug fix, a new feature/breaking change, and support for .NET 10 RC2.

Breaking Changes

  • Introduce IDPoPProofTokenFactory by @bhazen in a #267

Enhancements

Bug Fixes

Introduction of IDPoPProofTokenFactory

This is a breaking change in that DPoPProofTokenFactory was renamed to DefaultDPoPProofTokenFactory to make it clear it is the default implementation which is provided by the library.

Previously, there was no mechanism for customizing how DPoP proof tokens were created. This caused some issues, such as making it difficult to use signing keys which are stored in a platform crypto provider (see https://github.com/orgs/DuendeSoftware/discussions/163).

To accommodate such scenarios, an IDPoPProofTokenFactory was introduced to allow for complete customization. To make use of a custom implementation of this interface, use the new extension methods to configure DPoP:

var options = new OidcClientOptions();
var myCustomProofTokenFactory = new MyCustomProofTokenFactory();
options.ConfigureDPoP(myCustomProofTokenFactory);

Code which does not require a custom implementation of IDPoPProofTokenFactory should not need to be changed.

Contributors

Thanks to the Duende.IdentityModel.OidcClient community for your involvement with issues and pull requests!

Don't miss a new foss release

NewReleases is sending notifications on new releases.