Skip to content

Commit cef6937

Browse files
committed
chore(passport:google): switch google oauth passport package
1 parent dc21276 commit cef6937

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: app/templates/_package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"passport-local": "^1.0.0",<% } %><% if (filters.facebookAuth) { %>
3030
"passport-facebook": "^2.0.0",<% } %><% if (filters.twitterAuth) { %>
3131
"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) { %>
3333
"socket.io": "^1.3.5",
3434
"socket.io-client": "^1.3.5",
3535
"socketio-jwt": "^4.2.0",<% } %>

Diff for: app/templates/server/auth(auth)/google(googleAuth)/passport.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import passport from 'passport';
2-
import {OAuth2Strategy as GoogleStrategy} from 'passport-google-oauth';
2+
import {Strategy as GoogleStrategy} from 'passport-google-oauth20';
33

44
export function setup(User, config) {
55
passport.use(new GoogleStrategy({

0 commit comments

Comments
 (0)