Skip to content

Commit

Permalink
Merge pull request #403 from Calinou/gitlab-use-restricted-scope
Browse files Browse the repository at this point in the history
[5.x] Only use the `read_user` scope for GitLab by default
  • Loading branch information
taylorotwell authored Oct 29, 2019
2 parents e8ba455 + b5b4bff commit ccfa53e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Two/GitlabProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@

class GitlabProvider extends AbstractProvider implements ProviderInterface
{
/**
* The scopes being requested.
*
* @var array
*/
protected $scopes = ['read_user'];

/**
* {@inheritdoc}
*/
Expand Down

0 comments on commit ccfa53e

Please sign in to comment.