diff --git a/src/OAuth2.php b/src/OAuth2.php index 137d008..2f08fe6 100644 --- a/src/OAuth2.php +++ b/src/OAuth2.php @@ -210,7 +210,7 @@ public function refreshAccessToken(OAuthToken $token) $response = $this->sendRequest($request); - $token = $this->createToken(['params' => $response]); + $token = $this->createToken(['params' => array_merge($token->getParams(), $response)]); $this->setAccessToken($token); return $token;