Sunday, December 4, 2022
HomeSoftware DevelopmentDiscontinuing authorization assist for the Google Signal-In JavaScript Platform Library

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

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 wish to remind you to test if this impacts your net software, and if crucial, to plan for a migration.

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

What does this imply for you?

  • Consider in case you are 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 not be obtainable for obtain and net apps relying upon deprecated authorization options to acquire entry tokens for calling Google APIs will not work as supposed.

Are you impacted?

To guard customers’ private info throughout the online, 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). Just lately, we launched an replace to the Google Identification Companies library, including consumer authorization and information sharing options primarily based on OAuth 2.0. As a result of quite a few safety and privateness enhancements, the brand new Identification Companies library will not be 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 crucial.

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 or JavaScript modules to load the Platform Library, you might be affected and have to replace your current implementation to make use of the brand new Identification Companies shopper library.

Net 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 change auth2 module references with newer equal strategies are crucial.

Your full suite of apps and platforms could also be utilizing completely 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 immediately 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 can assist 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 software might use each authorization (to name Google APIs), and authentication (to handle consumer sign-in to your app). If that is so, you’ll have to observe each migration guides to make sure separation of consumer authorization and authentication flows in your net software.

The migration guides are written that can assist you perceive how the brand new Identification Companies library differs from prior libraries, what these modifications are, find out how to 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 contains quite a few modifications and advantages:

  • Pop-ups present a safer, lowered UX friction technique to authorize your net app with out having to make use of redirects or require customers to go away your web site.
  • 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 software 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 supply 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.

It is a transient abstract of privateness, safety, and value modifications discovered within the new Identification Companies library, further element is accessible within the migration guides.

The best way to get assist

Go to our developer web site for extra info and take a look at the google-oauth tag on Stack Overflow for technical help. You can even supply your strategies and suggestions by sending an electronic mail to



Please enter your comment!
Please enter your name here

Most Popular

Recent Comments