Skip to content

Commit

Permalink
Change from API scope to read_user, so we only have read access (#10225)
Browse files Browse the repository at this point in the history
[FIX] GitLab authentication scope was too open, reduced to read only access
  • Loading branch information
rafaelks authored and rodrigok committed Apr 17, 2018
1 parent 34e607c commit 2de1530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rocketchat-gitlab/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
const config = {
serverURL: 'https://gitlab.com',
identityPath: '/api/v3/user',
scope: 'api',
scope: 'read_user',
addAutopublishFields: {
forLoggedInUser: ['services.gitlab'],
forOtherUsers: ['services.gitlab.username']
Expand Down

0 comments on commit 2de1530

Please sign in to comment.