Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Environnements compatibles
La connexion Google est officiellement compatible avec les navigateurs et plates-formes suivants :
Google Chrome sur macOS, Windows, Linux, Android et iOS
Mozilla Firefox sur macOS, Windows et Linux
Safari sur macOS et iOS
Internet Explorer, versions 8 à 11 sur Windows
Microsoft Edge sur Windows
Problèmes connus
Vous trouverez ci-dessous les problèmes connus que vous pouvez rencontrer lorsque vous utilisez la connexion Google.
Cookies et données de sites tiers bloqués
Lorsqu'elle est activée, cette fonctionnalité de confidentialité désactive tous les cookies et le stockage dans l'iframe. Google exige cette information pour une authentification sécurisée des utilisateurs.
Une solution consiste à demander aux utilisateurs qui ont désactivé les données tierces de créer une exception pour https://accounts.google.com en ajoutant accounts.google.com aux domaines autorisés. Dans Chrome, cette opération est effectuée dans chrome://settings/cookies.
Si un grand nombre de vos utilisateurs activent cette fonctionnalité (certaines entreprises imposent ce paramètre à tous leurs employés), une autre solution consiste à implémenter un flux OAuth 2.0 côté serveur.
Chrome sur iOS en mode navigation privée
La connexion avec Google n'est pas compatible avec le mode navigation privée de Chrome sur iOS.
Safari avec la fonctionnalité Intelligent Tracking Prevention
Cette nouvelle fonctionnalité de macOS High Sierra et d'iOS 11 désactive les cookies tiers toutes les 24 heures, sauf si l'utilisateur interagit avec l'une des pages du domaine tiers. La bibliothèque Google Sign-in s'appuie sur les cookies pour authentifier l'utilisateur de manière sécurisée. Il détecte potentiellement que l'utilisateur est déconnecté toutes les 24 heures. L'utilisateur doit à nouveau suivre le processus de connexion pour réactiver les cookies.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/08/06 (UTC).
[null,null,["Dernière mise à jour le 2025/08/06 (UTC)."],[[["\u003cp\u003eGoogle Sign-In is being deprecated; consult the Deprecation and Sunset guide for more information and migration planning.\u003c/p\u003e\n"],["\u003cp\u003eFedCM APIs will become mandatory for the Google Sign-In library, requiring an impact assessment to ensure continued functionality.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Sign-In supports a range of browsers and platforms, including Chrome, Firefox, Safari, Internet Explorer, and Edge.\u003c/p\u003e\n"],["\u003cp\u003ePotential issues include third-party cookie blocking and Intelligent Tracking Prevention, with solutions and workarounds detailed within the content.\u003c/p\u003e\n"]]],[],null,["# Troubleshooting\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\nSupported environments\n----------------------\n\nGoogle Sign-In officially supports the following browsers and platforms:\n\n- Google Chrome on macOS, Windows, Linux, Android, iOS\n- Mozilla Firefox on macOS, Windows, Linux\n- Safari on macOS and iOS\n- Internet Explorer versions from 8 to 11 on Windows\n- Microsoft Edge on Windows\n\nKnown issues\n------------\n\nThe following are known issues that you might encounter when using Google\nSign-In.\n\n### Third-party cookies and data blocked\n\nWhen enabled, this privacy feature deactivates all cookies and storage within\nthe iframe. Google requires this for secure user authentication.\n\nOne solution is to ask users who have disabled third-party data to create an\nexception for `https://accounts.google.com` by adding `accounts.google.com` to\nthe allowed domains. In Chrome, do this in `chrome://settings/cookies`.\n\nIf many of your users enable this feature (some companies enforce this\nsetting for all their employees), another workaround is to implement a\n[server-side OAuth 2.0 flow](https://developers.google.com/identity/protocols/oauth2/web-server).\n\n### Chrome on iOS in Incognito Mode\n\nGoogle Sign-in does not support incognito mode on Chrome on iOS.\n\n### Safari with Intelligent Tracking Prevention\n\nThis new feature of macOS High Sierra and iOS 11 deactivates third-party cookies\nevery 24 hours, unless the user interacts with one of the page of the\nthird-party domain. The Google Sign-in library relies on cookies to securely\nauthenticate the user. It potentially detects that the user is logged out every\n24 hours. The user must go through the sign in flow again to reactivate the\ncookies.\n\nAny other issue?\n----------------\n\nGo to our\n[GitHub issue tracker](https://github.com/google/google-api-javascript-client/issues)\nfor any other issue with the Google Sign-In library."]]