From a156b6c59cc69fc53a73adc7d89de903be82bfea Mon Sep 17 00:00:00 2001 From: Jon Winton Date: Thu, 31 Jan 2019 08:52:11 -0500 Subject: [PATCH] updating amphora to pass in userProfileURL property (#626) --- lib/auth.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/auth.js b/lib/auth.js index 8960a46f..8b150acb 100644 --- a/lib/auth.js +++ b/lib/auth.js @@ -221,7 +221,8 @@ function createGoogleStrategy(site) { clientID: process.env.GOOGLE_CONSUMER_KEY, clientSecret: process.env.GOOGLE_CONSUMER_SECRET, callbackURL: getCallbackUrl(site, 'google'), - passReqToCallback: true + passReqToCallback: true, + userProfileURL: process.env.GOOGLE_PROFILE_URL }, verify({ username: 'emails[0].value',