Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gnome-online-accounts gnome-online-accounts
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 114
    • Issues 114
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • gnome-online-accountsgnome-online-accounts
  • Merge requests
  • !19

google: Only request the email field when getting the user's identity

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Debarshi Ray requested to merge wip/rishi/google-identity-userinfo into master Jan 31, 2019
  • Overview 0
  • Commits 1
  • Changes 1

Currently, a lot of personal information was being received, including gender and profile picture. The email is the only thing that's really used, for the account's identity and presentation identy, and the rest was being simply thrown away. Therefore, avoid receiving them in the first place.

Verified via the Google APIs Explorer and the Google OAuth 2.0 Playground:

  • https://developers.google.com/apis-explorer/#p/oauth2/v2/oauth2.userinfo.get
  • https://developers.google.com/oauthplayground/
Edited Jan 31, 2019 by Debarshi Ray
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: wip/rishi/google-identity-userinfo