1.3.0
What's Changed
- Update dependency dotnet-sdk to v8.0.300 by @Infra-Workleap in #74
- [IDP-1412] Attempt to retrieve and cache JWTs in background by @asimmon in #75
This release brings a change in the way tokens are obtained. Previously, a token was fetched when an outgoing HTTP request needed to be authenticated, and then it was stored in the cache.
Now, a token is obtained and cached at the application startup and is periodically refreshed before its cache eviction. This makes outgoing authenticated requests faster because there is no latency due to token fetching when it expires.
This behavior is enabled by default but can be disabled by setting ClientCredentialsOptions.EnablePeriodicTokenBackgroundRefresh
to false
.
Full Changelog: 1.2.3...1.3.0