File tree 2 files changed +2
-2
lines changed
server/auth(auth)/google(googleAuth)
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 29
29
"passport-local" : " ^1.0.0" ,<% } %><% if (filters.facebookAuth) { %>
30
30
"passport-facebook" : " ^2.0.0" ,<% } %><% if (filters.twitterAuth) { %>
31
31
"passport-twitter" : " ^1.0.3" ,<% } %><% if (filters.googleAuth) { %>
32
- "passport-google-oauth " : " ~0.2 .0" ,<% } %><% if (filters.socketio) { %>
32
+ "passport-google-oauth20 " : " ^1.0 .0" ,<% } %><% if (filters.socketio) { %>
33
33
"socket.io" : " ^1.3.5" ,
34
34
"socket.io-client" : " ^1.3.5" ,
35
35
"socketio-jwt" : " ^4.2.0" ,<% } %>
Original file line number Diff line number Diff line change 1
1
import passport from 'passport' ;
2
- import { OAuth2Strategy as GoogleStrategy } from 'passport-google-oauth ' ;
2
+ import { Strategy as GoogleStrategy } from 'passport-google-oauth20 ' ;
3
3
4
4
export function setup ( User , config ) {
5
5
passport . use ( new GoogleStrategy ( {
You can’t perform that action at this time.
0 commit comments