anthonyjgrove / react-google-login

A React Google Login Component
https://anthonyjgrove.github.io/react-google-login
MIT License
1.85k stars 425 forks source link

Google deprecation-warning #538

Open corvipie opened 2 years ago

corvipie commented 2 years ago

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.

Kakamotobi commented 2 years ago

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.

mayurLinerloop commented 1 year ago

@anthonyjgrove Facing same issue.

Can you please give update on this?

linearloopdevops commented 1 year ago

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