Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

google oauth2

Fanda Vacek edited this page Jan 31, 2025 · 2 revisions

Google Oauth2

https://www.googleapis.com/oauth2/v2/userinfo

{
  "id": "102504136941114510578",
  "email": "fanda.vacek@gmail.com",
  "verified_email": true,
  "name": "Fanda Vacek",
  "given_name": "Fanda",
  "family_name": "Vacek",
  "picture": "https://lh3.googleusercontent.com/a/ACg8ocIzft0KmSDPqEBXFasDexEzzOHkbWH9MuYcdUQofGhrlhKU_JN2=s96-c"
}
https://people.googleapis.com/v1/people/me?personFields=names,emailAddresses

{
  "resourceName": "people/102504136941114510578",
  "etag": ""%EgcBAgkuNz0+GgQBAgUHIgxLWlBiQ09ibTVjND0="",
  "names": [
    {
      "metadata": {
        "primary": true,
        "source": {
          "type": "PROFILE",
          "id": "102504136941114510578"
        },
        "sourcePrimary": true
      },
      "displayName": "Fanda Vacek",
      "familyName": "Vacek",
      "givenName": "Fanda",
      "displayNameLastFirst": "Vacek, Fanda",
      "unstructuredName": "Fanda Vacek"
    }
  ],
  "emailAddresses": [
    {
      "metadata": {
        "primary": true,
        "verified": true,
        "source": {
          "type": "ACCOUNT",
          "id": "102504136941114510578"
        },
        "sourcePrimary": true
      },
      "value": "fanda.vacek@gmail.com"
    }
  ]
}

Clone this wiki locally