Skip to content

Commit 8f2ffab

Browse files
committed
chore(passport:google): switch google oauth passport package
1 parent 940d062 commit 8f2ffab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/templates/_package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
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",<% } %>

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

Lines changed: 1 addition & 1 deletion
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)