File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
server/auth(auth)/google(googleAuth) Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 3030 "passport-local" : " ^1.0.0" ,<% } %><% if (filters.facebookAuth) { %>
3131 "passport-facebook" : " ^2.0.0" ,<% } %><% if (filters.twitterAuth) { %>
3232 "passport-twitter" : " ^1.0.3" ,<% } %><% if (filters.googleAuth) { %>
33- "passport-google-oauth " : " ~0.2 .0" ,<% } %><% if (filters.socketio) { %>
33+ "passport-google-oauth20 " : " ^1.0 .0" ,<% } %><% if (filters.socketio) { %>
3434 "socket.io" : " ^1.3.5" ,
3535 "socket.io-client" : " ^1.3.5" ,
3636 "socketio-jwt" : " ^4.2.0" ,<% } %>
Original file line number Diff line number Diff line change 11import passport from 'passport' ;
2- import { OAuth2Strategy as GoogleStrategy } from 'passport-google-oauth ' ;
2+ import { Strategy as GoogleStrategy } from 'passport-google-oauth20 ' ;
33
44export function setup ( User , config ) {
55 passport . use ( new GoogleStrategy ( {
You can’t perform that action at this time.
0 commit comments