diff --git a/src/OAuthClient.php b/src/OAuthClient.php index c879436..dd05267 100644 --- a/src/OAuthClient.php +++ b/src/OAuthClient.php @@ -376,6 +376,7 @@ public function refreshAccessToken(): string $grant = new RefreshToken(); $this->accessToken = $this->provider->getAccessToken($grant, [ 'refresh_token' => $this->getRefreshToken(), + 'scope' => $this->scopes ]); } catch (IdentityProviderException $e) { $message = $e->getMessage();