Must Read
Discontinuing Google Sign-in JavaScript platform library for web
The tech giant will gradually be deprecating the library in the meantime.
Only web apps that use the Google Sign-in JavaScript libnrary will be affected. But apps or platforms directly calling Google’s OAuth2 or OpenID services are not affected.
Developers are encouraged to migrate before then using this Sign In With Google migration guide.
"The new JavaScript library for Sign In With Google is designed to be more secure and comes with a new user experience making it easier for users to sign in.
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?
Evaluate if you are affected by the deprecation.
Complete your migration before March 31, 2023, after which the Google Platform Library will no longer be available for download.
If you’re making the switch, we’ve provided a Sign In With Google migration guide to help you out.
Migrating from Google Sign-In.
This guide helps you to understand the necessary changes and steps to successfully migrate JavaScript libraries from the older Google Sign-In platform library to the newer Google Identity Services library.
What's changed.
For users the new library offers numerous usability improvements. Highlights include:
New low friction One Tap and Automatic sign-in flows with fewer individual steps,
A refreshed sign-in button with user personalization,
consistent branding and uniform sign-in behavior across the web improve understanding and trust,
quickly get to content; users can directly and easily sign-up and sign-in from anywhere on your site without first having to visit a login or account page.
For developers, our focus has been to reduce complexity, improve security, and make your integration as quick and easy as possible.
Some of these improvements include:
The option to add user sign-in to your site's static content using just HTML,
separation of sign-in authentication from authorization and the sharing of user data,
the complexity of an OAuth2 integration is no longer necessary simply to sign users into your site,
both popup and redirect modes continue to be supported, but Google's OAuth2 infrastructure now redirects to your backend server's login endpoint,
consolidation of the functionality from both of the older Google Identity and Google API JavaScript libraries into a single new library,
for sign-in responses, you now get to decide whether or not to use a Promise and indirection through getter style functions been removed for simplicity.
Read more. 👇👇
https://developers.google.com/identity/gsi/web/guides/migration