Discontinuing Google Sign-In JavaScript Platform Library for web

AUG 05, 2021

Posted by Brian Daugherty, Product Solutions Engineer

In order to protect users' personal information across the web, Google continues to make signing into apps and services secure by default. Delivering on this promise, we recently announced Google Identity Services, our new family of Identity APIs that consolidate multiple identity offerings under one software development kit (SDK). As we move to further simplify the number of sign-in methods and user experience we are announcing the deprecation of the JavaScript based Google Platform Library for web apps and plan to fully retire it on March 31, 2023.

What does this mean for you?


Are you affected?

The deprecation applies only to web apps using the Google Sign-in JavaScript library. If your web pages currently load the Google Platform Library (apis.google.com/js/platform.js), you are affected and need to migrate to the newer Sign In With Google client library.

Your suite of apps and platforms may be using the Google Platform Library to support authentication only flows for user sign-in, an authorization flow for data-sharing (for example, sharing a user’s calendar or photos), or both at the same time. The migration includes both authentication and authorization flows.

Your suite of apps and platforms may also be using multiple methods of authentication and authorization offered by Google. The following are NOT affected by this deprecation announcement:


Changes and benefits

As part of our ongoing effort to improve user sign-in we released a new JavaScript library for Sign In With Google. In addition to prior authentication and authorization functionality, it also offers a new user experience to improve user visibility, trust and decrease friction during sign-in.

Migration to our new JavaScript library offers a number of benefits, some of which are:

Examples of what users will see:

image showing
      how personalized buttons and one tap prompt look

See the Google Identity Services product announcement for more.

How to get help

Visit our developer site for more information and check out the google-signin tag on Stack Overflow for technical assistance. Offer your suggestions and feedback using gis-migration-feedback@google.com.