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

user authentication or authorization deprecation issue #558

Closed sudipstha08 closed 1 year ago

sudipstha08 commented 1 year ago

I am getting this error while trying to login.

You have created a new client application that uses libraries for user authentication or authorization that will soon be deprecated. New clients must use the new libraries instead; existing clients must also migrate before these libraries are deprecated. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information.
wei-xiang-dei commented 1 year ago

Did you solve it ? I also encoutered same issue

sudipstha08 commented 1 year ago

@wei-xiang-dei The Google Sign-In JavaScript platform library for Web is deprecated. This package need to be updated. Use this package for now @react-oauth/google https://www.npmjs.com/package/@react-oauth/google