Commit e78c4e65 authored by Eric Eastwood's avatar Eric Eastwood

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
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment