diff --git a/src/OpenIddict.Abstractions/OpenIddictResources.resx b/src/OpenIddict.Abstractions/OpenIddictResources.resx
index 9cc4ef7d..e5389efc 100644
--- a/src/OpenIddict.Abstractions/OpenIddictResources.resx
+++ b/src/OpenIddict.Abstractions/OpenIddictResources.resx
@@ -1396,6 +1396,24 @@ Consider registering a certificate using 'services.AddOpenIddict().AddClient().A
The device authorization flow cannot be enabled when token storage is disabled (unless the degraded mode is used).
+
+ The redirection request was not handled.
+To handle redirection requests in a controller, create a custom action with the same route as the redirection endpoint and enable the pass-through mode in the server ASP.NET Core or OWIN options using 'services.AddOpenIddict().AddClient().UseAspNetCore().EnableRedirectionEndpointPassthrough()'.
+Alternatively, create a class implementing 'IOpenIddictClientHandler<HandleRedirectionRequestContext>' and register it using 'services.AddOpenIddict().AddClient().AddEventHandler()'.
+
+
+ The post-logout redirection request was not correctly extracted.
+To extract post-logout redirection requests, create a class implementing 'IOpenIddictClientHandler<ExtractPostLogoutRedirectionRequestContext>' and register it using 'services.AddOpenIddict().AddClient().AddEventHandler()'.
+
+
+ The post-logout redirection request was not handled.
+To handle post-logout redirection requests in a controller, create a custom action with the same route as the post-logout redirection endpoint and enable the pass-through mode in the server ASP.NET Core or OWIN options using 'services.AddOpenIddict().AddClient().UseAspNetCore().EnablePostLogoutRedirectionEndpointPassthrough()'.
+Alternatively, create a class implementing 'IOpenIddictClientHandler<HandlePostLogoutRedirectionRequestContext>' and register it using 'services.AddOpenIddict().AddClient().AddEventHandler()'.
+
+
+ The post-logout redirection response was not correctly applied.
+To apply post-logout redirection responses, create a class implementing 'IOpenIddictClientHandler<ApplyPostLogoutRedirectionResponseContext>' and register it using 'services.AddOpenIddict().AddClient().AddEventHandler()'.
+
The security token is missing.
@@ -2455,9 +2473,6 @@ This may indicate that the hashed entry is corrupted or malformed.
The redirection request was successfully validated.
-
- The redirection request was successfully validated.
-
The authorization request was rejected because the '{Parameter}' contained a forbidden parameter: {Name}.
@@ -2518,9 +2533,6 @@ This may indicate that the hashed entry is corrupted or malformed.
The post-logout redirection request was successfully validated.
-
- The post-logout redirection request was successfully validated.
-
Client validation failed because '{PostLogoutRedirectUri}' was not a valid post_logout_redirect_uri for {Client}.
diff --git a/src/OpenIddict.Client/OpenIddictClientHandlers.Authentication.cs b/src/OpenIddict.Client/OpenIddictClientHandlers.Authentication.cs
index 346a92f4..9bb25d32 100644
--- a/src/OpenIddict.Client/OpenIddictClientHandlers.Authentication.cs
+++ b/src/OpenIddict.Client/OpenIddictClientHandlers.Authentication.cs
@@ -339,7 +339,7 @@ public static partial class OpenIddictClientHandlers
return;
}
- context.Logger.LogInformation(SR.GetResourceString(SR.ID6180));
+ throw new InvalidOperationException(SR.GetResourceString(SR.ID0368));
}
}
diff --git a/src/OpenIddict.Client/OpenIddictClientHandlers.Session.cs b/src/OpenIddict.Client/OpenIddictClientHandlers.Session.cs
index 16bf8d4a..042f7b16 100644
--- a/src/OpenIddict.Client/OpenIddictClientHandlers.Session.cs
+++ b/src/OpenIddict.Client/OpenIddictClientHandlers.Session.cs
@@ -216,7 +216,7 @@ public static partial class OpenIddictClientHandlers
if (notification.Request is null)
{
- throw new InvalidOperationException(SR.GetResourceString(SR.ID0302));
+ throw new InvalidOperationException(SR.GetResourceString(SR.ID0369));
}
context.Logger.LogInformation(SR.GetResourceString(SR.ID6199), notification.Request);
@@ -332,7 +332,7 @@ public static partial class OpenIddictClientHandlers
return;
}
- context.Logger.LogInformation(SR.GetResourceString(SR.ID6201));
+ throw new InvalidOperationException(SR.GetResourceString(SR.ID0370));
}
}
@@ -380,7 +380,7 @@ public static partial class OpenIddictClientHandlers
return;
}
- throw new InvalidOperationException(SR.GetResourceString(SR.ID0303));
+ throw new InvalidOperationException(SR.GetResourceString(SR.ID0371));
}
}