Using google's Oauth 2 Playground, it can be shown that:
- If you select just the google OAuth api v2 scope, and get the email using the url in the title here, then you get the gmail address.
- On The other hand, if you select that scope and the youtube scope https://www.googleapis.com/auth/youtube, then instead of a gmail address you get a google+ email address.
It seems disturbing that this happens; I want to use the gmail address to identify the user in the app. How can I just get the gmail address everytime, regardless of the combination of scopes? I don't want to make the user login twice (once to get a token for youtube api v3, and once to get a token to get the gmail address from the Oauth api v2.
Also, one other annoyance; in the "The app would like to" screen, the /auth/userinfo.email scope results in us being told that the app wants to "view your email address" "know who you are on Google+"....I really would rather it didn't cause the latter!