diff --git a/guide/migration/20-to-30.html b/guide/migration/20-to-30.html index 8e56cae..c4f6766 100644 --- a/guide/migration/20-to-30.html +++ b/guide/migration/20-to-30.html @@ -174,6 +174,15 @@ the pass-through mode for these endpoints, so that requests can reach your autho { options.UseDataProtection(); }); +
If previously application was using request caching functionality, the new way to toggle request caching feature (previously options.EnableRequestCaching()) to use OpenIddictServerAspNetCoreBuilder class methods (divided into explicit methods):
services.AddOpenIddict()
+ .AddServer(options =>
+ {
+ options.UseAspNetCore()
+ .EnableAuthorizationRequestCaching()
+ .EnableLogoutRequestCaching();
+ })
System.Text.JsonIf you use JSON.NET to serialize or deserialize OpenIdConnectMessage, OpenIdConnectRequest or OpenIdConnectResponse instances,
consider moving to System.Text.Json when migrating to OpenIddict 3.0, as 3.0 no longer includes a built-in JSON.NET JsonConverter for these types.