diff --git a/src/main/java/me/axieum/mcmod/authme/api/util/MicrosoftUtils.java b/src/main/java/me/axieum/mcmod/authme/api/util/MicrosoftUtils.java index 6f274fb..16821e6 100644 --- a/src/main/java/me/axieum/mcmod/authme/api/util/MicrosoftUtils.java +++ b/src/main/java/me/axieum/mcmod/authme/api/util/MicrosoftUtils.java @@ -306,6 +306,10 @@ public static CompletableFuture acquireMSAccessToken(final String authCo // Also check whether prompt type is only DEFAULT, to not trap the user with the token when changing acc if (refreshToken != null && (promptType == null || promptType == MicrosoftPrompt.DEFAULT)) { + + LOGGER.info("Login will use refresh token: {}", + StringUtils.abbreviateMiddle(refreshToken, "...", 32)); + params.add(new BasicNameValuePair("grant_type", "refresh_token")); params.add(new BasicNameValuePair("refresh_token", refreshToken)); } else {