Skip to content

Commit

Permalink
feat(auth): remove OAuth write scope capabilities
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Kristian Flaatten <hans.kristian.flaatten@dnt.no>
  • Loading branch information
Hans Kristian Flaatten committed Apr 25, 2016
1 parent 904aedb commit 0aff932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/auth/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ app.get('/login/github', (req, res) => {

const authURL = oauth2.getAuthorizeUrl({
redirect_uri: `${originalUrl}/callback`,
scope: 'repo,user',
scope: 'user:email',
state: process.env.GH_OAUTH_RANDOM,
});

Expand Down

0 comments on commit 0aff932

Please sign in to comment.