Skip to Content
Platform.Ontology

Sign in with Google

A one click login where Google tells the site who the person is.

Works without askingSign in and identitySocial loginWeb browsersWhen you are signed in

In one line

Can sign you in with Google and learn your name, email and photo

A one click login where Google tells the site who the person is.

The site gets a signed ID token with sub (stable user ID), email, email_verified, name, picture, locale and for Workspace users the hd domain. Extra scopes can add Calendar, Drive or Contacts. The site gets the same sub every visit.

What it can and can't do

What the user does: You tap Sign in with Google and pick an account in the Google box

It can

  • Receive a Google ID that stays the same each time you visit
  • Get your name, email, profile photo and language
  • Learn your company domain when you use a Workspace account
  • Ask for extra access such as Calendar, Drive or Contacts on a second screen

It cannot

  • Get your Google password
  • See your Calendar, Drive or Contacts unless you approve that extra access
  • See your email inbox without a separate approval
  • Sign in without you picking an account

Browser support

Chromeworks
Edgeworks
Firefoxworks
Safariworks
iPhoneworks
Androidworks
Samsungworks
BrowserStatusFirst versionReleasedNote
ChromeSupported12008-12-11:Redirect or popup, works in all browsers
EdgeSupported1Not listed:Redirect or popup, works in all browsers
FirefoxSupported12004-11-09:Redirect or popup, works in all browsers
SafariSupported12003-06-23:Redirect or popup, works in all browsers
Safari on iPhoneSupported12007-06-29:Redirect or popup, works in all browsers
Chrome on AndroidSupported1Not listed:Redirect or popup, works in all browsers
Samsung InternetSupported12013-04-27:Redirect or popup, works in all browsers

How a site asks for it

APIGoogle Identity Services: google.accounts.id.initialize(); OIDC id_token
How access is grantedprompt
What the user seesNone
Needs a secure context (HTTPS)No
Needs a user gestureNo
How long it lastsGoogle session cookies keep the person signed in; site stores its own session
How to take it backClear site data, browser privacy settings
Inside an iframeNot listed

Typical flow

  1. Person clicks Sign in with Google
  2. Google shows account chooser
  3. Site receives ID token
  4. Site creates its account or session

Data you get

What comes back: ID token claims
Shape: object
How often: at sign in

FieldTypeUnitRangePrecision
substringidup to 255 charsexact
emailstringaddressanyexact
email_verifiedbooleannonetrue or falseexact

Technical limits

  • Default scopes are openid, email and profile
  • ID token expires after 1 hour
  • Google also sees every site the person signs in to
  • Third-party cookie free path via FedCM

The story

What it is

A one click login where Google tells the site who you are.

For you

You click a Google button, pick your account and agree. The site now knows your name, photo and email. Next time it may offer a one tap box right when the page loads.

For makers

Makers skip building password systems and get a verified email. They get a stable user ID and a profile picture for personalizing the app, and sign ups are faster, which improves conversion.

Where you see it

TypeExampleApps
gamesA web game lets a player sign in with Google so scores, skins and a friends leaderboard follow them to a new laptop.Google Play Games on PC, CrazyGames
gamesA cloud gaming service such as GeForce NOW offers account sign in options so a person can start streaming a game on any browser.GeForce NOW
productivityAn online editor reads the sign in token to open a person's own files and show their picture on live cursors.Figma, Canva, Notion
shoppingA store gets a verified email at checkout, so receipts and order tracking work with no extra form.None named
educationA school web app uses the Workspace domain claim to let only students and teachers of that school in.Google Classroom, Khan Academy
analyticsA growth team counts new accounts made with Google versus email to tune the sign up page.None named
securityA site can block throwaway sign ups because Google already checked that the email is real.None named

Risks

  • Google sees where you sign in
  • If the Google account is lost, so are the logins

What the platform says

  • Google: Sign in with Google. Google pitches a quick, secure sign in using an account people already have, with one tap on web and mobile.

Good uses and abuse

Legitimate uses

  • Frictionless sign up and login

Known abuse

  • Google learning every site the person uses; email address given to site

Scores

ScoreValueMeaning
Sensitivity5 of 5How revealing the data is
Utility5 of 5How useful it is to honest apps
Friction2 of 5How much the user has to do
Fingerprint bitsNot ratedRough identifying entropy, when known

History

  • 2022-08, all: Google Identity Services replaced Google Sign-In JS library
  • 2025-01, Chrome 132: GIS One Tap uses FedCM by default (verify exact milestone)

Sources

How well checked: Based on official documentation.

On this page