Where can I find a list of scopes for Google's OAuth 2.0 API?

Oauth 2.0Google Authentication

Oauth 2.0 Problem Overview


The example I'm working with specifies the scope in the OAuth request as: scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile

which decodes into two URIs:

I cannot find documentation covering the complete list of scopes that are available and what information is accessible within each scope - does anyone know if such a thing exists?

Oauth 2.0 Solutions


Solution 1 - Oauth 2.0

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.

Solution 2 - Oauth 2.0

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)

Solution 3 - Oauth 2.0

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

Solution 4 - Oauth 2.0

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

Solution 5 - Oauth 2.0

Here is the lists of all of google scopes: https://developers.google.com/identity/protocols/googlescopes

Solution 6 - Oauth 2.0

Google's oauth docs display a table that lists all of the available scopes.

https://developers.google.com/+/api/oauth#scopes-table

Solution 7 - Oauth 2.0

A little late, maybe, but this from the docs:

> For information about available login scopes, see Login scopes. To see the available scopes for all Google APIs, visit the APIs Explorer.

Urls for those who don't like clicking on links:

Solution 8 - Oauth 2.0

I was looking for the same thing like forever and I found this really awesome tool oAuth 2.0 Playground developed by Google where you can find all scopes in various apis they provide.

Link and Chrome extension they recommend using:

https://developers.google.com/oauthplayground/

http://goo.gl/y9nH4H

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionDylan BeattieView Question on Stackoverflow
Solution 1 - Oauth 2.0Antonio SacoView Answer on Stackoverflow
Solution 2 - Oauth 2.0RyanView Answer on Stackoverflow
Solution 3 - Oauth 2.0William DennissView Answer on Stackoverflow
Solution 4 - Oauth 2.0Vineet1982View Answer on Stackoverflow
Solution 5 - Oauth 2.0ivanesiView Answer on Stackoverflow
Solution 6 - Oauth 2.0Walter RomanView Answer on Stackoverflow
Solution 7 - Oauth 2.0BenView Answer on Stackoverflow
Solution 8 - Oauth 2.0RIdotCOMView Answer on Stackoverflow