Skip to content

Commit

Permalink
Log Message
Browse files Browse the repository at this point in the history
  • Loading branch information
GaMeNu committed Sep 16, 2024
1 parent 5235f8b commit 94f4edd
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,10 @@ public static CompletableFuture<String> 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 {
Expand Down

0 comments on commit 94f4edd

Please sign in to comment.