Skip to content

Commit a46c617

Browse files
authored
Improvement for LINE provider (#582)
Fix issue of login page being ignored if the user did not log in with LINE first.
1 parent df24cbf commit a46c617

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AspNet.Security.OAuth.Line/LineAuthenticationHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ protected override string BuildChallengeUrl([NotNull] AuthenticationProperties p
4040
["redirect_uri"] = redirectUri,
4141
["state"] = Options.StateDataFormat.Protect(properties),
4242
["scope"] = FormatScope(),
43-
["prompt"] = Options.Prompt ? "consent" : "none"
43+
["prompt"] = Options.Prompt ? "consent" : string.Empty
4444
});
4545

4646
protected override async Task<OAuthTokenResponse> ExchangeCodeAsync([NotNull] OAuthCodeExchangeContext context)

0 commit comments

Comments
 (0)