We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6bb832 commit e0de7f5Copy full SHA for e0de7f5
routes/news.js
@@ -34,7 +34,7 @@ passport.use(new GitHubStrategy({
34
clientSecret: process.env.GH_CLIENT_SECRET,
35
callbackURL: (process.env.NODE_ENV === 'production' ?
36
"http://javascript.preschool.io/news/auth/github/callback" : "http://localhost:3000/news/auth/github/callback"),
37
- scope: ['user', 'user:email']
+ scope: ['user:email']
38
},
39
function(accessToken, refreshToken, profile, done) {
40
// asynchronous verification, for effect...
0 commit comments