From a69607e6aa27299fcc4301d79f2152cb2c6abb65 Mon Sep 17 00:00:00 2001 From: Seth Shelnutt Date: Thu, 25 Aug 2016 08:41:33 -0400 Subject: [PATCH] Set gitlabs scope to 'api', the only support scope. Fixes #3987 --- packages/rocketchat-gitlab/common.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/rocketchat-gitlab/common.coffee b/packages/rocketchat-gitlab/common.coffee index 7d6cd560398..42bdd4ac82d 100644 --- a/packages/rocketchat-gitlab/common.coffee +++ b/packages/rocketchat-gitlab/common.coffee @@ -1,6 +1,7 @@ config = serverURL: 'https://gitlab.com' identityPath: '/api/v3/user' + scope: 'api' addAutopublishFields: forLoggedInUser: ['services.gitlab'] forOtherUsers: ['services.gitlab.username']