diff --git a/OAuth/AspNet.Security.OAuth.Minecraft/MinecraftAuthenticationHandler.cs b/OAuth/AspNet.Security.OAuth.Minecraft/MinecraftAuthenticationHandler.cs index 86adaa5..4852707 100644 --- a/OAuth/AspNet.Security.OAuth.Minecraft/MinecraftAuthenticationHandler.cs +++ b/OAuth/AspNet.Security.OAuth.Minecraft/MinecraftAuthenticationHandler.cs @@ -39,6 +39,7 @@ protected override async Task ExchangeCodeAsync(OAuthCodeExc {"code", context.Code}, {"scope", "Xboxlive.signin Xboxlive.offline_access"}, {"grant_type", "authorization_code"}, + {"prompt", "select_account"}, }; // PKCE https://tools.ietf.org/html/rfc7636#section-4.5, see BuildChallengeUrl @@ -257,4 +258,4 @@ protected override async Task CreateTicketAsync( return new AuthenticationTicket(context.Principal, context.Properties, Scheme.Name); } } -} \ No newline at end of file +}