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(); }); +

Enable request caching

+

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();
+    })
 

Replace JSON.NET by System.Text.Json

If 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.

diff --git a/manifest.json b/manifest.json index b39d79f..3c8b77e 100644 --- a/manifest.json +++ b/manifest.json @@ -11476,7 +11476,7 @@ "output": { ".html": { "relative_path": "guide/migration/20-to-30.html", - "hash": "jJvG5fF9YpwoZ3hhxVdOCg==" + "hash": "yqEm8nzGBcc1/9QKfsQ/Vg==" } }, "is_incremental": false,