feat: google auth module

This commit is contained in:
Nick
2019-04-28 00:20:06 -04:00
parent 06497fe021
commit 2abecea09c
4 changed files with 20 additions and 9 deletions

View File

@@ -16,7 +16,6 @@ module.exports = {
clientSecret: conf.clientSecret,
callbackURL: conf.callbackURL
}, async (accessToken, refreshToken, profile, cb) => {
console.info(profile)
try {
const user = await WIKI.models.users.processProfile({
profile: {