IdentityModel / IdentityModel.OidcClient

Certified C#/NetStandard OpenID Connect Client Library for native mobile/desktop Applications (RFC 8252)
Apache License 2.0
599 stars 175 forks source link

Make Client Assertions more extensible #419

Closed brockallen closed 8 months ago

brockallen commented 8 months ago

For this property: https://github.com/IdentityModel/IdentityModel.OidcClient/blob/main/src/OidcClient/OidcClientOptions.cs#L59

This value might change during use (e.g. 60 second expiration), so we want something more extensible to allow for dynamic access to a client assertion. Just an event on the options would be sufficient.

So now we could call the new event, and if it doesn't produce a value fall back to the static config value.