fix google should be oauth2

pull/1789/head
Berkeley Martinez 2015-08-16 06:51:08 -07:00
parent d14514f661
commit b828a1e825
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ module.exports = {
},
'google-login': {
provider: 'google',
authScheme: 'oauth',
authScheme: 'oauth2',
module: 'passport-google-oauth2',
clientID: process.env.GOOGLE_ID,
clientSecret: process.env.GOOGLE_SECRET,
@ -55,7 +55,7 @@ module.exports = {
},
'google-link': {
provider: 'google',
authScheme: 'oauth',
authScheme: 'oauth2',
module: 'passport-google-oauth2',
clientID: process.env.GOOGLE_ID,
clientSecret: process.env.GOOGLE_SECRET,