fix: add force select account

This commit is contained in:
Polianin Nikita 2024-12-28 08:16:00 +03:00
parent d9f4176aca
commit 206720cd63

View File

@ -193,7 +193,9 @@ public class OAuthService(ILogger<OAuthService> logger, Dictionary<OAuthProvider
"&response_type=code" +
$"&redirect_uri={redirectUri}" +
$"&scope={ProviderData[provider].Scope}" +
$"&state={Uri.EscapeDataString(payload + "_" + checksum)}";
$"&state={Uri.EscapeDataString(payload + "_" + checksum)}" +
"&prompt=select_account" +
"&force_confirm=true";
logger.LogInformation("Redirecting user Fingerprint: {Fingerprint} to OAuth provider {Provider} with state: {State}",
requestInfo.Fingerprint,