0
votes

For the Google API Scope, access to user's email https://www.googleapis.com/auth/userinfo.email scope has been deprecated according to https://developers.google.com/+/api/oauth#email

So the new scope is "email" instead of the long url.

But what is the difference between scopes "email" and "https://www.googleapis.com/auth/plus.profile.emails.read"?

1

1 Answers

1
votes

email gives you access to the authenticated users Google email address e.g. [email protected].

"emails": [
  {
   "value": "[email protected]",
   "type": "account"
  }
 ]

https://www.googleapis.com/auth/plus.profile.emails.read gives you access to all public email addresses on the users profile that they have verified.

"emails": [
  {
   "value": "[email protected]",
   "type": "account"
  },
  {
   "value": "[email protected]",
   "type": "home"
  },
  {
   "value": "[email protected]",
   "type": "home"
  }
 ]