react-google-login icon indicating copy to clipboard operation
react-google-login copied to clipboard

Google deprecation-warning

Open corvipie opened this issue 2 years ago • 3 comments

Hey there, for some time now i'm getting a warning in my browsers dev-console. Is this something i should be worried about and/ or is this something i can take care of myself?

Here is the warning:

Your client application uses libraries for user authentication or authorization that will soon be deprecated. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information.
gu @ cb=gapi.loaded_0?le=scs:270
(anonymous) @ cb=gapi.loaded_0?le=scs:301
_.g.K2 @ cb=gapi.loaded_0?le=scs:296
(anonymous) @ cb=gapi.loaded_0?le=scs:298

Any info and/ or help would be greatly appreciated! (Login itself is working perfectly fine, btw..) Thanks & cheers, Toni.

corvipie avatar Sep 11 '22 09:09 corvipie

#502 #526

Google is discontinuing the "Google Sign-In JavaScript Platform Library" after March 31, 2023, which this library is using.

Instead, Google released their new Identity Services called "Sign In With Google" for the web.

I think people are working to migrate this library to use the new Identity Services SDK but in the meantime you could use this library @react-oauth/google, which uses the new approach.

Kakamotobi avatar Sep 18 '22 03:09 Kakamotobi

@anthonyjgrove Facing same issue.

Can you please give update on this?

mayurLinerloop avatar Oct 31 '22 11:10 mayurLinerloop

@anthonyjgrove Can you update the new version with the new google update as per this https://developers.google.com/identity/gsi/web/guides/migration?

linearloopdevops avatar Oct 31 '22 11:10 linearloopdevops