diff --git a/src/Logto.AspNetCore.Authentication/LogtoParameters.cs b/src/Logto.AspNetCore.Authentication/LogtoParameters.cs index 3c30818..58b62b2 100644 --- a/src/Logto.AspNetCore.Authentication/LogtoParameters.cs +++ b/src/Logto.AspNetCore.Authentication/LogtoParameters.cs @@ -124,6 +124,7 @@ public static class Authentication { /// /// The first screen to show in the sign-in experience. + /// See for more details. /// public static class FirstScreen { @@ -172,6 +173,7 @@ public static class Identifiers /// /// Direct sign-in configuration. + /// See for more details. /// public class DirectSignIn { diff --git a/src/Logto.AspNetCore.Authentication/extensions/AuthenticationBuilderExtensions.cs b/src/Logto.AspNetCore.Authentication/extensions/AuthenticationBuilderExtensions.cs index 1ea2b59..2688a3d 100644 --- a/src/Logto.AspNetCore.Authentication/extensions/AuthenticationBuilderExtensions.cs +++ b/src/Logto.AspNetCore.Authentication/extensions/AuthenticationBuilderExtensions.cs @@ -145,7 +145,6 @@ private static void ConfigureOpenIdConnectOptions(OpenIdConnectOptions options, { // Clean up the cookie when signing out. await context.HttpContext.SignOutAsync(cookieScheme); - // Rebuild parameters since we use client_id for sign-out, no need to use id_token_hint. context.ProtocolMessage.Parameters.Remove(OpenIdConnectParameterNames.IdTokenHint); context.ProtocolMessage.Parameters.Add(OpenIdConnectParameterNames.ClientId, logtoOptions.AppId);