Skip to content

Commit

Permalink
chore: add ref links
Browse files Browse the repository at this point in the history
  • Loading branch information
darcyYe committed Nov 14, 2024
1 parent d5bc1ec commit a7a4dc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/Logto.AspNetCore.Authentication/LogtoParameters.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ public static class Authentication
{
/// <summary>
/// The first screen to show in the sign-in experience.
/// See <see href="https://docs.logto.io/docs/references/openid-connect/authentication-parameters/#first-screen"/> for more details.
/// </summary>
public static class FirstScreen
{
Expand Down Expand Up @@ -172,6 +173,7 @@ public static class Identifiers

/// <summary>
/// Direct sign-in configuration.
/// See <see href="https://docs.logto.io/docs/references/openid-connect/authentication-parameters/#direct-sign-in"/> for more details.
/// </summary>
public class DirectSignIn
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <c>client_id</c> for sign-out, no need to use <c>id_token_hint</c>.
context.ProtocolMessage.Parameters.Remove(OpenIdConnectParameterNames.IdTokenHint);
context.ProtocolMessage.Parameters.Add(OpenIdConnectParameterNames.ClientId, logtoOptions.AppId);
Expand Down

0 comments on commit a7a4dc8

Please sign in to comment.