Question

I can't add the new "email" scope to Google Apps Marketplace SDK in the Google APIs Console. This scope is supposed to replace the depreciated https://www.googleapis.com/auth/userinfo.email scope (as commented in https://developers.google.com/+/api/oauth#email). What should I do to ensure future compatibility?

Was it helpful?

Solution

email & profile are functionally equivalent to userinfo.email & userinfo.profile, respectively. They even share a mapping on the backend. You can safely use email & profile in your code today and won't have to worry about migrating in the future.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top