Migrate to the new Google Identity Services library

Hi, I received an email from google saying that Google Sign-In JavaScript platform library will be deprecated after March 31, but in the past days my API connection is showing error 401: request has invalid authentication credentials. Why is this happening before the deadline March 31?

Thanks

Hi @starman2112 ,

Welcome to Google Cloud Community!

It’s possible that the error you’re experiencing is not related to the deprecation of the Google Sign-In JavaScript platform library, but rather an issue with your API credentials or implementation. However, regardless of the cause of the error, it’s still recommended to migrate to the new Google Identity Services library as soon as possible to avoid any potential disruptions to your application.

To migrate to the new library, you’ll need to follow the instructions provided by Google in their documentation. This involves updating your code to use the new library, configuring the necessary OAuth consent screen settings, and obtaining new OAuth client credentials.

Keep in mind that the migration process may take some time, so it’s important to start as soon as possible to ensure a smooth transition. If you continue to experience issues after migrating to the new library, you can consult Google’s documentation or seek help from their Google Cloud Support team.

Thanks