Open isuryanarayanan opened 3 years ago
console log the response in your function. it returns an object that contains the details. automatically, the package stores it as the string characters before the "@" symbol in the email. I think you'll have to call it directly from the database.
you can get name by changing 'app.use(gAuthPlugin, { clientId: gauthClientId, scope: 'email', prompt: 'consent', fetch_basic_profile: false }) ' to 'app.use(gAuthPlugin, { clientId: gauthClientId})'. Please click https://developers.google.com/identity/sign-in/web/reference#gapiauth2clientconfig for details.
Idk what scope gives me the username