Skip to content

Commit 829ca63

Browse files
committed
Use bare minimum permission for Gitlab
1 parent 48d15d0 commit 829ca63

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/IdentitiesManager.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ protected function createGitlabDriver()
3535
return Socialite::with('gitlab')
3636
->scopes([
3737
'openid',
38-
'read_api',
38+
'read_user',
39+
'profile',
40+
'email',
3941
// todo: make scopes configurable
4042
]);
4143
}

0 commit comments

Comments
 (0)