From 4783b40d2a6cf7c3594ae18fb1cec8b9a2a71ca6 Mon Sep 17 00:00:00 2001 From: OpenIddict Bot <32257313+openiddict-bot@users.noreply.github.com> Date: Wed, 28 Jul 2021 14:26:27 +0000 Subject: [PATCH] Update the documentation pages --- guide/migration/20-to-30.html | 9 +++++++++ manifest.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) 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.