[MSA] Refresh token fix

This commit is contained in:
khanhduytran0 2020-12-17 14:27:11 +07:00
parent 9e4b648263
commit bff2a44325

View File

@ -58,7 +58,7 @@ public class Msa {
);*/
data.put("client_id", "00000000402b5328");
data.put(isRefresh ? "refresh_token" : "code", authcode);
data.put("grant_type", "authorization_code");
data.put("grant_type", isRefresh ? "refresh_token" : "authorization_code");
data.put("redirect_url", "https://login.live.com/oauth20_desktop.srf");
data.put("scope", "service::user.auth.xboxlive.com::MBI_SSL");