Skip to content

Commit

Permalink
Merge pull request #34 from ashish-budhraja/patch-1
Browse files Browse the repository at this point in the history
Add scope on refreshAccessToken()
  • Loading branch information
Skullbock authored Dec 19, 2024
2 parents 51722f6 + 82d6e85 commit 042c074
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/OAuthClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 042c074

Please sign in to comment.