diff --git a/src/Client.php b/src/Client.php index f174e29..fdd5eae 100644 --- a/src/Client.php +++ b/src/Client.php @@ -136,7 +136,10 @@ public function loginWithRefreshToken(string $refreshToken) 'refresh_token' => $refreshToken, 'grant_type' => 'refresh_token', 'token_format' => 'jwt', - ], ['Authorization' => 'Basic MDk1MTUxNTktNzIzNy00MzcwLTliNDAtMzgwNmU2N2MwODkxOnVjUGprYTV0bnRCMktxc1A=']); + ], [ + 'Content-Type' => 'application/x-www-form-urlencoded', + 'Authorization' => 'Basic MDk1MTUxNTktNzIzNy00MzcwLTliNDAtMzgwNmU2N2MwODkxOnVjUGprYTV0bnRCMktxc1A=' + ]); $this->finalizeLogin($response); }