Skip to content
This repository has been archived by the owner on Feb 21, 2022. It is now read-only.

Commit

Permalink
fix: switch to patched google auth module
Browse files Browse the repository at this point in the history
  • Loading branch information
NGPixel committed Jan 22, 2019
1 parent d05a20b commit cb7e4b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"passport-azure-ad-oauth2": "0.0.4",
"passport-facebook": "~2.1.1",
"passport-github2": "~0.1.10",
"passport-google-oauth20": "~1.0.0",
"@passport-next/passport-google-oauth2": "1.0.0",
"passport-ldapauth": "~2.0.0",
"passport-local": "~1.0.0",
"passport-openidconnect": "~0.0.2",
Expand Down
2 changes: 1 addition & 1 deletion server/libs/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ module.exports = function (passport) {
// Google ID

if (appconfig.auth.google && appconfig.auth.google.enabled) {
const GoogleStrategy = require('passport-google-oauth20').Strategy
const GoogleStrategy = require('@passport-next/passport-google-oauth2').Strategy
passport.use('google',
new GoogleStrategy({
clientID: appconfig.auth.google.clientId,
Expand Down

0 comments on commit cb7e4b9

Please sign in to comment.