Add this to the scope – https://www.googleapis.com/auth/userinfo.profile
And after authorization is done, get the information from – https://www.googleapis.com/oauth2/v1/userinfo?alt=json
It has loads of stuff – including name, public profile url, gender, photo etc.
More Related Contents:
- Can I really not ship open source with Client ID? [closed]
- Why do access tokens expire?
- Disable checkboxes on Google consent screen
- How to change Google consent screen email?
- OAuth 2.0 with Google Analytics API v3
- Google API OAuth2, Service Account, “error” : “invalid_grant”
- How is OAuth 2 different from OAuth 1?
- CORS issue while making an Ajax request for oauth2 access token
- How to validate an OAuth 2.0 access token for a resource server?
- Google OAuth 2.0 redirect_uri with several parameters
- What is the difference between the OAuth Authorization Code and Implicit workflows? When to use each one?
- What is the OAuth 2.0 Bearer Token exactly?
- What is the difference between Google Identity Toolkit, Google OAuth, Firebase Auth and Google+ sign in
- OAuth 2.0: Benefits and use cases — why?
- What is the purpose of the implicit grant authorization type in OAuth 2?
- How to specify the scope of Google API to get the birthday
- Difference between OAuth 2.0 “state” and OpenID “nonce” parameter? Why state could not be reused?
- Spring OAuth redirect_uri not using https
- Sign in with Google temporarily disabled for this app
- What exactly is OAuth (Open Authorization)?
- Twitter API – Logout
- JWT (Json Web Token) Audience “aud” versus Client_Id – What’s the difference?
- client secret in OAuth 2.0
- gapi.auth.signOut(); not working I’m lost
- LinkedIn OAuth2: “Unable to verify access token”
- Netsuite OAuth Not Working
- OAuth Authorization vs Authentication
- Securing my REST API with OAuth while still allowing authentication via third party OAuth providers (using DotNetOpenAuth)
- Use Google Analytics API to show information in C#
- Using base64-encoded images with HtmlService in Apps Script