Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhanson committed Mar 4, 2015
2 parents 82ace2e + 3a603fc commit 60a67aa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/oauth2/app.js
Expand Up @@ -88,8 +88,7 @@ app.get('/login', function(req, res){
// redirecting the user to google.com. After authorization, Google
// will redirect the user back to this application at /auth/google/callback
app.get('/auth/google',
passport.authenticate('google', { scope: ['https://www.googleapis.com/auth/userinfo.profile',
'https://www.googleapis.com/auth/userinfo.email'] }),
passport.authenticate('google', { scope: ['https://www.googleapis.com/auth/plus.login'] }),
function(req, res){
// The request will be redirected to Google for authentication, so this
// function will not be called.
Expand Down

0 comments on commit 60a67aa

Please sign in to comment.