3
3 Comments

Is this ethical? - Google One-Tap Login

So I've seen Google One-Tap login on sites like Medium, but whenever I searched for how to add it to my site, I saw that Google had stopped new sites from adding it because of a security issue they had found.

It seems that now Google have quietly brought it back, so I decided to implement it on a demo site with Next.js and Firebase Auth 💪

The code is linked on the demo page: https://google-one-tap.now.sh

The crazy thing about it is that you can enable "auto sign-in" which essentially signs in a user to your site even if they've never visited before 🤯.

Definitely some question marks about how ethical that is, but.. it works!

on April 24, 2020
  1. 1

    I like it! Do you have a link for Google's official page for this?

    1. 2

      Thanks! There isn't much documentation but this might help: https://developers.google.com/identity/one-tap/web

  2. 1

    no, the auto sign-in will not signup the suer automatically without user consent. However auto-sign in will "sign" the user in if they have already signed-up.