OAuth 2.0 Scope for Google Apps users' names with google-api-nodejs-client -
I use Google's 'google-api-nodejs-client' package () to manage OAuth 2.0 authentication I am trying to / P>
I have modified the entire profile object in example in console.log in example / oauth2.js . How can I use the "name given" and "family name" to remove users correctly if they are authenticating using a Google Apps account? Using the following scope: Once the authentication occurs, the following response gives: I have the API API Explorer () and only Perhaps the user from whom you are requesting data has no given and family safe AM set?
Regions: ['https://www.googleapis.com/auth/plus.login', 'https://www.googleapis.com/auth/ Plus .profile.emails.read ']
{type:' plus # person ', etag : '' Long '', '123456', displayName: '', name: {familyName: '', GivenName: ''}, image: {url: 'https://lh3.googleusercontent.com/ etc etc', Default is: wrong}, isPlusUser: wrong, language: 'en_GB', circledByCount: 0, verified: wrong, domain: 'example.example'} Parva Name and givenName to 'https://www.googleapis.com/auth/plus.login' / code>.
Comments
Post a Comment