Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
9
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
gitter
webapp
Commits
e78c4e65
Commit
e78c4e65
authored
Sep 22, 2020
by
Eric Eastwood
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use read_api scope for GitLab OAuth app
Fix
https://gitlab.com/gitlab-org/gitter/webapp/-/issues/2583
parent
c4fee93b
Pipeline
#200145657
failed with stages
in 29 minutes and 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
server/web/strategies/gitlab.js
server/web/strategies/gitlab.js
+1
-1
No files found.
server/web/strategies/gitlab.js
View file @
e78c4e65
...
...
@@ -49,7 +49,7 @@ var gitlabStrategy = new GitLabStrategy(
// https://github.com/jaredhanson/passport-oauth2/blob/master/lib/strategy.js
state
:
true
,
passReqToCallback
:
true
,
scope
:
[
'
read_user
'
,
'
api
'
],
scope
:
[
'
read_user
'
,
'
read_
api
'
],
scopeSeparator
:
'
'
},
gitlabOauthCallback
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment