Reputation: 6301
Is it possible to ask for no information when connecting with a google account with OAuth2 ?
I tried to pass an empty scope
parameter but It won't work (Usual google error page).
Also, there is no list of the available parameters for scope
...For now I use scope=email
.
Edit: A list of scope parameters I finally found: https://developers.google.com/+/api/oauth
Upvotes: 2
Views: 2445
Reputation: 8183
Sorry, you cant.
As The OAuth 2.0 Authorization Framework says:
If the client omits the scope parameter when requesting authorization, the authorization server MUST either process the request using a pre-defined default value or fail the request indicating an invalid scope.
And Google's implementation chooses the later one.
Upvotes: 4