Auth0 Home Blog Docs

Why I can't get the gmail scope inside the token?

auth0
scopes
google
gmail

#1

When I login with auth0 the token I get from google does not contain gmail scope…

Checking token here :
https://www.googleapis.com/oauth2/v1/tokeninfo?access_token={token}

getting response :
{
“issued_to”: “XXXXXX”,
“audience”: “XXXXXX”,
“user_id”: “XXXXXX”,
“scope”: “https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile https://mail.google.com/mail/feed/atom”,
“expires_in”: 3579,
“email”: "XXXXXX@gmail.com",
“verified_email”: true,
“access_type”: “offline”
}

Even though when I login it asks me for permission to “manage” my email, It doesn’t give me a token I could use, This is critical for users to be able to give me at least compose/send scope permission.

btw : I have joined already the google group for unverified apps for testing purposes,
So it should work for my account.


#2