Skip to content

Commit

Permalink
Force user into account selection screen
Browse files Browse the repository at this point in the history
  • Loading branch information
Thodor12 authored Nov 19, 2024
1 parent e2c3bfa commit 4a439e5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ protected override async Task<OAuthTokenResponse> 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
Expand Down Expand Up @@ -257,4 +258,4 @@ protected override async Task<AuthenticationTicket> CreateTicketAsync(
return new AuthenticationTicket(context.Principal, context.Properties, Scheme.Name);
}
}
}
}

0 comments on commit 4a439e5

Please sign in to comment.