I am integrating google signin in my app.I need to store email,name,agerange,location.So while doing signin, i have set the scope to profile,email and profile.auth.agerange.read.
gapi.signin2.render('g-signin2', {
'scope': 'email profile https://www.googleapis.com/auth/userinfo.profile openid https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/profile.agerange.read',
'width': 240,
'height': 50,
'longtitle': true,
'theme': 'dark',
'onsuccess': onSuccess,
'onfailure': onFailure
});
But still when i am verifying the generated id_token using GoogleIdTokenVerifier i can't see age or location field in the payload.
Can anyone suggest how to get those details.