Skip to content

Commit

Permalink
Fix missing client id in token refresh (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
hylkevds committed Jun 6, 2024
1 parent eba8db7 commit ebccbff
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ private String fetchTokenUsingRefreshToken() {
List<NameValuePair> parameters = new ArrayList<>();
parameters.add(new BasicNameValuePair("grant_type", "refresh_token"));
parameters.add(new BasicNameValuePair("refresh_token", refreshToken));
parameters.add(new BasicNameValuePair("client_id", clientId));
tokenRequest.setEntity(new UrlEncodedFormEntity(parameters));

response = client.execute(tokenRequest);
Expand Down

0 comments on commit ebccbff

Please sign in to comment.