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!

posted to Icon for group Growth
Growth
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.

Trending on Indie Hackers
I wasted 6 months building a failed startup. Built TrendyRevenue to validate ideas in 10 seconds. User Avatar 36 comments Your files aren’t messy. They’re just stuck in the wrong system. User Avatar 27 comments Built a tool that finds which Reddit/HN threads are making ChatGPT recommend your competitors User Avatar 21 comments Cloud vs Cybersecurity Certifications | 2026 Path Makes More Sense User Avatar 18 comments Why Direction Matters More Than Motivation in Exam Preparation User Avatar 11 comments A Closer Look at Droven .io Artificial Intelligence User Avatar 8 comments