# Deprecation and Sunset

> [!WARNING]
> **Warning:** The Google Sign-In library optionally uses FedCM APIs, and their use will become a requirement. [Conduct an impact assessment](https://developers.google.com/identity/sign-in/web/gsi-with-fedcm) to confirm that user sign-in continues to function as expected.   
>
> Support for the Google Sign-In library is deprecated, see the [Deprecation and Sunset](https://developers.google.com/identity/sign-in/web/deprecation-and-sunset) guide for more.

As communicated by the [authentication](https://developers.googleblog.com/2021/08/gsi-jsweb-deprecation.html) and [authorization](https://developers.googleblog.com/2022/03/gis-jsweb-authz-migration.html)
announcements, support for the [Google Sign-In](https://developers.google.com/identity/sign-in/web/sign-in) JavaScript library is
deprecated as of March 31, 2023.

Starting Q1 2024 as part of [Chrome-facilitated testing](https://developer.chrome.com/docs/privacy-sandbox/chrome-testing/), 1% of Chrome
Stable users disable third-party cookies. To prevent breaking Google Sign-In
for users, this library is part of Chrome's Privacy Sandbox
[deprecation trial](https://developers.google.com/privacy-sandbox/3pcd/temporary-exceptions/third-party-deprecation-trial#deprecation_trials). For the duration of the trial use of this library is
not affected by the rollout of third-party cookie blocking.

[Google Identity Services for Web](https://developers.google.com/identity/gsi/web/guides/overview) is the new, more secure way to sign in
users with Google Accounts and should be used instead.

## Key points

- Support for the Google Sign-in JavaScript library is deprecated as of March 31, 2023.
- New OAuth Client IDs cannot use the deprecated library.
- Existing Client IDs created before July 29th, 2022 may set [`plugin_name`](https://developers.google.com/identity/sign-in/web/reference#gapiauth2clientconfig) to continue using the library.
- Sunset (shutdown) date of the deprecated library is yet to be determined.
- We'll send out advanced notices to affected developers when sunset date is confirmed. Make sure your [Google Cloud Platform](https://console.cloud.google.com/) Project contact information associated with your OAuth client ID(s) is correct.
- We'll also announce the sunset date here. Bookmark this page and come back often for updates.
- The deprecation only affects the Google Sign-In JavaScript library for Web. If you are using the [One Tap sign-in on Android](https://developers.google.com/identity/one-tap/android/overview) SDK, the [Google Sign-in for iOS and macOS](https://developers.google.com/identity/sign-in/ios/start) SDK, or [OAuth 2.0](https://developers.google.com/identity/protocols/oauth2) for authentication or authorization, this deprecation does not affect your app(s).

## Migration Guides

For detailed instructions on how to migrate your web app from the deprecated
Google Sign-In JavaScript library to the Google Identity Services library,
see the migration guides:

- Authentication, for user sign-in - [Migrating from Google Sign-In](https://developers.google.com/identity/gsi/web/guides/migration)
- Authorization - [Migrate to Google Identity Services](https://developers.google.com/identity/oauth2/web/guides/migration-to-gis)

## Timetable

This table contains the specific deprecation and sunset dates.

| Library | Deprecation date | Sunset date |
|---|---|---|
| Google Sign-in JavaScript for Web | March 31, 2023 | To be determined |

> [!NOTE]
> **Note:** When the sunset date is confirmed, we'll notify affected web apps and make an announcement on this page.

## Differences between deprecation and sunset

| Term | Deprecation | Sunset |
|---|---|---|
| **Definition** | The deprecated library is a version that is *not the latest one*. | The sunset library can *no longer be used*. Requests sent to this library will fail on or after the sunset date. |
| **Implication** | For existing OAuth client ID(s) using the deprecated library, you can still use the deprecated library until they're *sunset* , but any new OAuth client ID cannot use the deprecated library. Migrate to the Google Identity Services library as soon as possible to benefit from new features. | You need to migrate off the sunset library *immediately* in order to use Google services. |