From 52c046b4eb00f913d3a8516ddbb5592101347110 Mon Sep 17 00:00:00 2001 From: maliming Date: Fri, 3 Mar 2023 12:15:03 +0800 Subject: [PATCH] Remove `AuthenticationProperties` from `LogoutController`. --- .../Volo/Abp/OpenIddict/Controllers/LogoutController.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/openiddict/src/Volo.Abp.OpenIddict.AspNetCore/Volo/Abp/OpenIddict/Controllers/LogoutController.cs b/modules/openiddict/src/Volo.Abp.OpenIddict.AspNetCore/Volo/Abp/OpenIddict/Controllers/LogoutController.cs index 9f92fa7f23..34796ea6a9 100644 --- a/modules/openiddict/src/Volo.Abp.OpenIddict.AspNetCore/Volo/Abp/OpenIddict/Controllers/LogoutController.cs +++ b/modules/openiddict/src/Volo.Abp.OpenIddict.AspNetCore/Volo/Abp/OpenIddict/Controllers/LogoutController.cs @@ -20,8 +20,6 @@ public class LogoutController : AbpOpenIdDictControllerBase // Returning a SignOutResult will ask OpenIddict to redirect the user agent // to the post_logout_redirect_uri specified by the client application or to // the RedirectUri specified in the authentication properties if none was set. - return SignOut( - authenticationSchemes: OpenIddictServerAspNetCoreDefaults.AuthenticationScheme, - properties: new AuthenticationProperties {RedirectUri = "/"}); + return SignOut(authenticationSchemes: OpenIddictServerAspNetCoreDefaults.AuthenticationScheme); } }