Skip to content

Commit

Permalink
Merge 5d92c72 into 40f5dbd
Browse files Browse the repository at this point in the history
  • Loading branch information
kagabof committed Aug 22, 2019
2 parents 40f5dbd + 5d92c72 commit 158b0e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/socialAPIRoute.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const { google, twitter } = socialAccount;

// social login routes
socialAPIRoute.get('/social/login/google', passport.authenticate('google', { scope: ['profile', 'email'], }));
socialAPIRoute.get('/api/social/login/google/redirect', passport.authenticate('google', { session: false }), google, socialLogin.loginGoogle);
socialAPIRoute.get('/social/login/google/redirect', passport.authenticate('google', { session: false }), google, socialLogin.loginGoogle);


socialAPIRoute.get('/social/login/facebook', passport.authenticate('facebook', { scope: ['email'] }));
Expand Down

0 comments on commit 158b0e3

Please sign in to comment.