googlesamples / google-services

A collection of quickstart samples demonstrating the Google APIs for Android and iOS
https://developers.google.com
Apache License 2.0
3.07k stars 2.53k forks source link

Google One Tap SignIn Popup not showing on guest mode on chrome browser #564

Open magical-soul opened 1 year ago

magical-soul commented 1 year ago

Describe your environment

Describe the problem: I am migrating to google identity services to implement Google One Tap SignIn in my react project.

window.google.accounts.id.initialize({
   client_id,
   itp_support: true,
   callback: handleCredential,
});

One tap prompt is well displayed when user has account logged to chrome. But when user in guest mode, I am expecting to see the Warm welcome page which allows user to sigh up to the account if they wish.

Screenshot 2022-11-29 at 16 46 03

What I noticed is that on firefox I can see the popin which allows to login/register with google.

Can anyone know if that's possible with google identity services: https://accounts.google.com/gsi/client

If it's possible to login/register with Google One Tap in guest mode on chrome?