Discontinuing authorization assist for the Google Signal-In JavaScript Platform Library

0/5 No votes

Report this app



Posted by Brian Daugherty, Product Options Engineer

Final yr, we introduced our plan to deprecate the Google Signal-In JavaScript Platform Library for net functions.

On March 31, 2023 we’ll absolutely retire the Google Signal-In JavaScript Platform Library and want to remind you to test if this impacts your net utility, and if needed, to plan for a migration.

Starting April thirtieth, 2022 new functions should use the Google Identification Companies library, present apps might proceed utilizing the Platform Library till the deprecation date.

What does this imply for you?

  • Consider if you’re affected by the deprecation and your have to Migrate to Google Identification Companies.
  • Full your migration previous to March 31, 2023, after which the Platform Library will now not be accessible for obtain and net apps relying upon deprecated authorization options to acquire entry tokens for calling Google APIs will now not work as meant.

Are you influenced?

To guard customers’ private info throughout the net, Google continues to make signing into apps and providers safe by default. Delivering on this promise, we introduced Google Identification Companies, our household of Identification APIs that consolidate a number of id choices beneath one software program improvement package (SDK). Lately, we launched an replace to the Google Identification Companies library, including consumer authorization and information sharing options primarily based on OAuth 2.0. On account of quite a few safety and privateness enhancements, the brand new Identification Companies library just isn’t absolutely backward suitable with all options and performance discovered within the older Platform Library, and so a migration to the brand new library and code modifications are needed.

The deprecation applies to net apps loading the Google Signal-In JavaScript Platform Library and apps utilizing the Google API Consumer Library for JavaScript with entry tokens.

In case your net pages use the apis.google.com/js/api.js or apis.google.com/js/shopper.js JavaScript modules to load the Platform Library, you might be affected and have to replace your present implementation to make use of the brand new Identification Companies shopper library.

Internet functions utilizing gapi.shopper from the Google API Consumer Library implicitly load and use the Platform Library’s quickly to be deprecated gapi.auth2 module when working with entry tokens to name Google APIs. Updates to your net app to explicitly embrace the brand new Identification Companies library, handle entry token requests, and substitute auth2 module references with newer equal strategies are needed.

Your full suite of apps and platforms could also be utilizing totally different strategies of authentication and authorization from Google. The next are NOT affected by this deprecation announcement:

  • Android or iOS native app SDKs,
  • Backend platforms straight calling Google’s OAuth 2.0 or OpenID providers.


Authorization and authentication functionalities are clearly separated within the new Identification Companies library.

There are two guides that will help you with migration:

(1) migrate to Google Identification Companies for consumer authorization and acquiring entry tokens to be used with Google APIs, and

(2) migrating from Google Signal-In for consumer authentication and sign-in.

Your net utility might use each authorization (to name Google APIs), and authentication (to handle consumer sign-in to your app). If so, you’ll have to observe each migration guides to make sure separation of consumer authorization and authentication flows in your net utility.

The migration guides are written that will help you perceive how the brand new Identification Companies library differs from prior libraries, what these modifications are, how you can separate authentication from authorization, and the way these modifications have an effect on each your customers and your codebase.

Modifications and advantages

Migration to our new Identification Companies library consists of various modifications and advantages:

  • Pop-ups present a safer, lowered UX friction solution to authorize your net app with out having to make use of redirects or require customers to depart your website.
  • Elevated privateness and management by default: customers approve particular person scopes, and solely when they’re wanted, enhancing how a lot, and when, delicate information could also be shared along with your net app.
  • Separate ID token and entry token credentials clearly distinguish consumer id from utility capabilities. Particular person credentials are simpler to separate, handle, or retailer primarily based upon their stage of danger. An id might convey solely who you might be and provide a decrease stage of danger when in comparison with an entry token with capabilities to learn/write delicate consumer information.
  • Ahead compatibility with Chromium Privateness sandbox modifications.

This can be a transient abstract of privateness, safety, and usefulness modifications discovered within the new Identification Companies library, extra element is obtainable within the migration guides.

Methods to get assist

Go to our developer website for extra info and take a look at the google-oauth tag on Stack Overflow for technical help. You may also provide your options and suggestions by sending an e mail to gis-migration-feedback@google.com.


Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.