OAuth 2.0 scopes provide a way to limit the amount of access that is granted to an access token. For example, an access token issued to a client app may be granted READ and WRITE access to protected resources, or just READ access. You can implement your APIs to enforce any scope or combination of scopes you wish.
We solved the issue by updating our original scopes 'profile email' to https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile and by doing some minor changes to the code. When initiating the google_auth_oauthlib.
What you are looking for is the Google APIs Discovery Service
.
A few other interesting resources:
An excellent blog by Nicolas Garnier which describes the important things behind this service.
The Google OAuth2 playground, is another good source of info.
Finally if you're interested in tracking changes to the discovery documents or don't want to read all the docs, there is an interesting online implementation by Gerwin Sturm.
Thanks to Antonio Sacco's links, I was able to find:
https://www.googleapis.com/discovery/v1/apis/oauth2/v2/rest?fields=auth(oauth2(scopes))
It says these are the scopes available:
- https://www.googleapis.com/auth/plus.me (Know who you are on Google)
- https://www.googleapis.com/auth/userinfo.email (View your email address)
- https://www.googleapis.com/auth/userinfo.profile (View basic information about your account)
Here is a doc that was added recently to Google's OAuth 2.0 documentation, with a comprehensive list of scopes:
https://developers.google.com/identity/protocols/googlescopes
The complete list of scopes are not provided in OAuth Documentation but provided under FAQ of GData developers. The Scopes doesn't changed in change OAuth 1.0 or Oauth 2.0. The Link to the Page is Added Click here to know the Full List of Google Scopes or link is https://developers.google.com/gdata/faq#AuthScopes
Here is the lists of all of google scopes: https://developers.google.com/identity/protocols/googlescopes
Google's oauth docs display a table that lists all of the available scopes.
https://developers.google.com/+/api/oauth#scopes-table
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With