Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Conforme comunicado nos avisos de autenticação e autorização, o suporte para a biblioteca JavaScript do Login do Google foi descontinuado em 31 de março de 2023.
A partir do primeiro trimestre de 2024, como parte dos testes facilitados pelo Chrome, 1% dos usuários do Chrome Stable vão desativar cookies de terceiros. Para evitar a interrupção do login do Google
para os usuários, essa biblioteca faz parte do teste de descontinuação
do Sandbox de privacidade do Chrome. Durante o período de teste, o uso dessa biblioteca não é
afetado pelo lançamento do bloqueio de cookies de terceiros.
O suporte para a biblioteca JavaScript do Login do Google foi descontinuado em
31 de março de 2023.
Os novos IDs de cliente OAuth não podem usar a biblioteca descontinuada.
Os IDs de cliente criados antes de 29 de julho de 2022 podem definir
plugin_name para continuar usando a biblioteca.
A data de desativação da biblioteca ainda não foi determinada.
Vamos enviar avisos com antecedência aos desenvolvedores afetados quando a data de desativação for
confirmada. Verifique se os dados de contato do projeto do Google Cloud Platform associados aos seus IDs de cliente OAuth estão corretos.
Também vamos anunciar a data de desativação aqui. Adicione esta página aos favoritos e volte
com frequência para conferir as atualizações.
Para instruções detalhadas sobre como migrar seu app da Web da biblioteca JavaScript do Login do Google descontinuada para a biblioteca de Serviços de Identificação do Google, consulte os guias de migração:
Esta tabela contém as datas específicas de desativação e suspensão.
Biblioteca
Data da suspensão do uso
Data da desativação
JavaScript do Login do Google para Web
31 de março de 2023.
A ser determinado
Diferenças entre a descontinuação e a desativação
Termo
Suspensão de uso
Pôr do sol
Definição
A biblioteca descontinuada é uma versão que não é a mais recente.
A biblioteca descontinuada não pode mais ser usada. As solicitações enviadas para essa
biblioteca vão falhar na data de desativação ou depois dela.
Implicação
Ainda é possível usar a biblioteca obsoleta até que eles sejam desativados, mas nenhum novo ID do cliente OAuth não poderá usar a biblioteca descontinuada.
Migre para a biblioteca de Serviços de Identificação do Google o quanto antes e aproveite os novos recursos.
Você precisa migrar da biblioteca desativada imediatamente para
usar os serviços do Google.
[null,null,["Última atualização 2025-07-25 UTC."],[[["\u003cp\u003eSupport for the Google Sign-In JavaScript library is deprecated as of March 31, 2023, and will eventually be sunsetted.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Identity Services for Web is the recommended replacement for signing in users with Google Accounts.\u003c/p\u003e\n"],["\u003cp\u003eExisting client IDs can continue using the deprecated library until sunset, but new client IDs must use Google Identity Services.\u003c/p\u003e\n"],["\u003cp\u003eMigration guides are available for both authentication and authorization flows to help developers transition to the new library.\u003c/p\u003e\n"],["\u003cp\u003eChrome users may experience disruptions with the deprecated library due to third-party cookie blocking, but this is mitigated during the deprecation trial.\u003c/p\u003e\n"]]],[],null,["# Deprecation and Sunset\n\n| **Warning:** The Google Sign-In library optionally uses FedCM APIs, and their use will become a requirement. [Conduct an impact assessment](/identity/sign-in/web/gsi-with-fedcm) to confirm that user sign-in continues to function as expected. \n|\n| Support for the Google Sign-In library is deprecated, see the [Deprecation and Sunset](/identity/sign-in/web/deprecation-and-sunset) guide for more.\n\nAs 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)\nannouncements, support for the [Google Sign-In](/identity/sign-in/web/sign-in) JavaScript library is\ndeprecated as of March 31, 2023.\n\nStarting Q1 2024 as part of [Chrome-facilitated testing](https://developer.chrome.com/docs/privacy-sandbox/chrome-testing/), 1% of Chrome\nStable users disable third-party cookies. To prevent breaking Google Sign-In\nfor users, this library is part of Chrome's Privacy Sandbox\n[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\nnot affected by the rollout of third-party cookie blocking.\n\n[Google Identity Services for Web](/identity/gsi/web/guides/overview) is the new, more secure way to sign in\nusers with Google Accounts and should be used instead.\n\nKey points\n----------\n\n- Support for the Google Sign-in JavaScript library is deprecated as of March 31, 2023.\n- New OAuth Client IDs cannot use the deprecated library.\n- Existing Client IDs created before July 29th, 2022 may set [`plugin_name`](/identity/sign-in/web/reference#gapiauth2clientconfig) to continue using the library.\n- Sunset (shutdown) date of the deprecated library is yet to be determined.\n- 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.\n- We'll also announce the sunset date here. Bookmark this page and come back often for updates.\n- The deprecation only affects the Google Sign-In JavaScript library for Web. If you are using the [One Tap sign-in on Android](/identity/one-tap/android/overview) SDK, the [Google Sign-in for iOS and macOS](/identity/sign-in/ios/start) SDK, or [OAuth 2.0](/identity/protocols/oauth2) for authentication or authorization, this deprecation does not affect your app(s).\n\nMigration Guides\n----------------\n\nFor detailed instructions on how to migrate your web app from the deprecated\nGoogle Sign-In JavaScript library to the Google Identity Services library,\nsee the migration guides:\n\n- Authentication, for user sign-in - [Migrating from Google Sign-In](/identity/gsi/web/guides/migration)\n- Authorization - [Migrate to Google Identity Services](/identity/oauth2/web/guides/migration-to-gis)\n\nTimetable\n---------\n\nThis table contains the specific deprecation and sunset dates.\n\n| Library | Deprecation date | Sunset date |\n|-----------------------------------|------------------|------------------|\n| Google Sign-in JavaScript for Web | March 31, 2023 | To be determined |\n\n| **Note:** When the sunset date is confirmed, we'll notify affected web apps and make an announcement on this page.\n\nDifferences between deprecation and sunset\n------------------------------------------\n\n| Term | Deprecation | Sunset |\n|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------|\n| **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. |\n| **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. |"]]