We are discontinuing the Google Sign-In JavaScript Platform Library for web. The library will be unavailable for download after the March 31, 2023 deprecation date. Instead, use the new Google Identity Services for Web.
By default, newly created Client IDs are now blocked from using the older Platform Library, existing Client IDs are unaffected. New Client IDs created before July 29th, 2022 can set `plugin_name` to enable use of the Google Platform Library.


Supported environments

Google Sign-In officially supports the following browsers and platforms:

  • Google Chrome on macOS, Windows, Linux, Android, iOS
  • Mozilla Firefox on macOS, Windows, Linux
  • Safari on macOS and iOS
  • Internet Explorer versions from 8 to 11 on Windows
  • Microsoft Edge on Windows

Known issues

Third-party cookies and data blocked

When enabled, this privacy feature deactivates all cookies and storage within the iframe, which is required by Google to securely authenticate the user.

One solution is to request users who have disabled third-party data to create an exception for https://accounts.google.com by adding accounts.google.com to the allowed domains. In Chrome, this is done in chrome://settings/content/cookies.

If many of your users have this feature enabled (some companies enforce this setting for all their employees), another workaround is to implement a server-side OAuth 2.0 flow.

Chrome on iOS in Incognito Mode

Google Sign-in is currently not supported in incognito mode on Chrome on iOS.

Safari with Intelligent Tracking Prevention

This new feature of macOS High Sierra and iOS 11 deactivates third-party cookies every 24 hours, unless the user interacts with one of the page of the domain of the third-party. As the Google Sign-in library relies on cookies to securely authenticate the user, it will potentially detect that the user is logged out every 24 hours. The user has to go through the sign in flow again to reactivate the cookies.

Any other issue?

Please go to our GitHub issue tracker for any other issue with the Google Sign-In library.