This release contains significant breaking changes due to Auth0.NET being fully rewritten. Stick with v5 unless you're ready to update to Auth0.NET v8.
Breaking Changes
-
Support Auth0.NET v8, see the upstream migration guide. Ignore the
Client Initializationsection as we still handle that for you :). -
Due to changes in Auth0.NET, the domain you pass into
AddAuth0AuthenticationClientshould be a plain domain withouthttps://prefixed. If you currently callToHttpsUrl()on this domain, it should be removed. -
Removed
.AddManagementAccessToken(). This is no longer required as.AddAuth0ManagementClient()will automatically wire up token management. Configuration has been moved toAddAuth0ManagementClient(x => ...). -
Removed
.AddAuth0RateLimitResilience(), the new Auth0.NET version implements backoffs correctly so this no longer required. -
Renamed
.AddAuth0AuthenticationClientCore()to an overload of.AddAuth0AuthenticationClient(). -
Removed Management token specific overload from
IAuth0TokenCache
New Features
-
Added support for Organization-scoped Machine-to-Machine tokens. See the README for more information.
-
Added the ability to use your own
FusionCacheinstance via an option on.AddAuth0AuthenticationClient. This might be handy if you want to cache tokens in a distributed manner.
Full Changelog: v5.2.1...v6.0.0