diff --git a/lib/oauth2.js b/lib/oauth2.js index e34f1250..4a17f3d2 100644 --- a/lib/oauth2.js +++ b/lib/oauth2.js @@ -76,6 +76,9 @@ function parseProfile(body) { familyName: json.family_name, displayName: `${json.given_name} ${json.family_name}`, picture: json.picture, + emails: [{ value: json.email, verified: json.email_verified }], + photos: [{ value: json.picture }], + name: { givenName: json.given_name, familyName: json.family_name }, _raw: body, _json: json, };