mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-17 00:29:50 -04:00
[MSA] (4/?) Error fix in final auth stage
This commit is contained in:
parent
b49e6b7189
commit
89abd5c32a
@ -253,6 +253,8 @@ public class MicrosoftAuthenticator extends AsyncTask<String, Void, Object> {
|
||||
|
||||
HttpRequest request = HttpRequest.newBuilder(uri)
|
||||
.header("Authorization", "Bearer " + mcAccessToken)
|
||||
.header("Content-Type", "application/json")
|
||||
.header("Accept", "application/json")
|
||||
.GET().build();
|
||||
|
||||
HttpResponse resp = HttpClient.newBuilder().build().sendRequest(request, HttpResponse.BodyHandlers.ofString());
|
||||
|
Loading…
x
Reference in New Issue
Block a user