Skip to content

Commit

Permalink
use the scopeSeparator
Browse files Browse the repository at this point in the history
  • Loading branch information
Lindsay Snider committed Jan 18, 2022
1 parent b765f2a commit 2885515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Two/AbstractProvider.php
Expand Up @@ -245,7 +245,7 @@ public function user()
return $this->user->setToken($token)
->setRefreshToken(Arr::get($response, 'refresh_token'))
->setExpiresIn(Arr::get($response, 'expires_in'))
->setApprovedScopes(explode(' ', Arr::get($response, 'scope', '')));
->setApprovedScopes(explode($this->scopeSeparator, Arr::get($response, 'scope', '')));
}

/**
Expand Down

0 comments on commit 2885515

Please sign in to comment.