با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
کتابخانه سرویس گیرنده جاوا اسکریپت برای ورود با Google و Google One Tap به گونه ای طراحی شده است که با اکثر مرورگرها و پلتفرم های رایج سازگار باشد. تضمینی برای کار بر روی همه مرورگرها یا پلتفرم ها نیست.
به دلیل خطرات امنیتی، کتابخانه سرویس گیرنده جاوا اسکریپت فقط در آخرین دو نسخه از هر مرورگر پشتیبانی می شود.
سازگاری
پشتیبانی از دکمه Sign In With Google و جریانهای ورود به سیستم با یک ضربه در بین مرورگرها و ترکیبات پلت فرم متفاوت است.
تجربه کاربر ممکن است بین مرورگرها بر اساس در دسترس بودن این ویژگیها متفاوت باشد:
جریان ها و ویژگی های ورود به سیستم پشتیبانی شده در جداول زیر نشان داده شده است. همه مرورگرها در همه پلتفرم ها در دسترس نیستند، N/A به این معنی است که یک مرورگر پشتیبانی شده در پلتفرم در دسترس نیست.
† FedCM در Chrome 117 یا جدیدتر موجود است، برای اطلاعات بیشتر به نمودار سازگاری مرورگر MDN مراجعه کنید.
کوکی های شخص ثالث
به عنوان یکی از شرکتکنندگان در گروه انجمن W3C FedID که بر روی FedCM کار میکند، سرویسهای هویت Google برای افزایش حریم خصوصی و امنیت کاربر و در عین حال به حداقل رساندن تغییرات در وبسایتهای موجود و حفظ سهولت استفاده برای کاربرانمان تلاش کرده است. کتابخانه جاوا اسکریپت GIS اکنون از API پیشنهادی FedCM پشتیبانی می کند.
از آگوست 2023، Google Identity Services به طور کامل از FedCM پشتیبانی می کند و استفاده از آن را توصیه می کند. ممکن است برای برخی از برنامههای وب موجود تغییراتی برای پذیرش FedCM لازم باشد.
از آگوست 2022، Google Identity Services یک آزمایش اولیه محدود FedCM را انجام داده است. تقریباً 20 وب سایت و 300 هزار کاربر با استفاده از APIهای FedCM و GIS با موفقیت وارد سیستم شدند.
خوشحالیم که بگوییم بازخوردهای اولیه نشان داده است که برای اکثر وب سایت ها، تغییر به یک فرآیند ورود به سیستم خصوصی تر و ایمن بدون کوکی های شخص ثالث می تواند به طور شفاف از طریق به روز رسانی های سازگار با گذشته کتابخانه GIS موجود رخ دهد. حداقل تا بدون تغییر در جریان کاربران و وب سایت های موجود مورد نیاز است. این یک نقطه حیاتی است زیرا پذیرش گسترده APIهای FedCM به مهاجرت بدون مشکل توسط وب سایت های موجود متکی است.
بر اساس این بازخورد اولیه، GIS قصد دارد مشارکت در آزمایش GIS با FedCM را گسترش دهد.
در طول آزمایشها، این مسائل کشف شد و ممکن است برخی از وبسایتها را ملزم به انجام اقداماتی در زمانی که FedCM توسط GIS اتخاذ میشود، داشته باشند:
دیالوگهای ارائهشده مرورگر توانایی موجود سایتها را برای استفاده از ویژگیهای سبک یا فریمهای میانی برای کنترل موقعیتیابی گفتگوی ورود به سیستم حذف میکند. این ممکن است محتوای سایت موجود را مبهم کند، که دیدن برخی از آنها ممکن است برای کاربران قبل از ورود به سیستم مفید یا حیاتی باشد.
اگرچه هنوز به طور گسترده مستقر نشده است، برخی از سایت ها ممکن است از CSP و COOP استفاده کنند. در این موارد، سایتها ممکن است مجبور شوند تغییراتی را در مرورگرهای مستقیم ایجاد کنند تا به پنجرههای بازشو اجازه داده شود و منابع بین سایتی بارگیری شوند.
تاریخ آخرین بهروزرسانی 2025-08-06 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-08-06 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThe JavaScript client library for Sign In With Google and Google One Tap supports the latest two versions of Chrome, Edge, Firefox, and Safari on varying platforms.\u003c/p\u003e\n"],["\u003cp\u003eSign In With Google and One Tap have differing support across browsers and platforms, with ITP requiring redirect mode for iOS and extra configuration needed for the upgraded One Tap UX on ITP browsers.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Identity Services recommends enabling FedCM for new web apps and migrating existing apps to enhance user privacy and security by minimizing reliance on third-party cookies.\u003c/p\u003e\n"],["\u003cp\u003eWhile FedCM adoption generally requires minimal website changes, some sites might need adjustments for sign-in dialog positioning and CSP/COOP configurations.\u003c/p\u003e\n"],["\u003cp\u003eFor devices with limited input capabilities or lacking system browsers, specialized sign-in guidance is available in the provided documentation link.\u003c/p\u003e\n"]]],[],null,["| **Important note:** For apps running on devices that don't support a system browser or that have limited input capabilities, such as TVs, game consoles, cameras, or printers, see [Sign-In on TVs and\n| Limited Input Devices](/identity/gsi/web/guides/devices).\n\nThe JavaScript client library for Sign In With Google and Google One Tap is\ndesigned to be compatible with most common browsers and platforms. It is\nnot guaranteed to work on all browsers or platforms.\n\nDue to security risks the JavaScript client library is only supported\non the latest two versions of each browser.\n\nCompatibility\n\nSupport for the Sign In With Google button and One Tap sign-in flows varies\nacross browser and platform combinations.\n\nThe user experience may differ between browsers based upon availability of\nthese features:\n\n- [Intelligent Tracking Prevention](https://webkit.org/blog/9521/intelligent-tracking-prevention-2-3/) (ITP)\n- [Federated Credentials Management API](/privacy-sandbox/3pcd/fedcm) (FedCM)\n\nSupported sign-in flows and features are shown in the following tables. Not all\nbrowsers are available on all platforms, N/A means a supported browser is not\navailable on the platform.\n\nSign In With Google\n\n| Browser / Platform | Android | iOS ^\\*^ | macOS | Linux | Windows 10 |\n| Chrome | | | | | |\n| Edge | | | | | |\n| Firefox | | | | | |\n| Safari | N/A | | | N/A | N/A |\n|--------------------|---------|----------|-------|-------|------------|\n\n^\\*^ Due to ITP [redirect mode](/identity/gsi/web/guides/display-button#redirect_mode) is required for iOS.\n\nOne Tap\n\n| Browser / Platform | Android | iOS | macOS | Linux | Windows 10 |\n| Chrome ^†^ | | ^\\*^ | | | |\n| Edge ^\\*^ ^†^ | | | | | |\n| Firefox ^\\*^ | | | | | |\n| Safari | N/A | | | N/A | N/A |\n|--------------------|---------|------|-------|-------|------------|\n\n^\\*^ [Extra configuration](/identity/gsi/web/guides/itp) is necessary to enable the\n[upgraded One Tap UX](/identity/gsi/web/guides/features#upgraded_ux_on_itp_browsers) for browsers that require ITP.\n\n^†^ FedCM is available in Chrome 117 or later, see\nthe MDN [Browser compatibility](https://developer.mozilla.org/en-US/docs/Web/API/FedCM_API#browser_compatibility) chart for more information.\n\nThird-party cookies\n\nAs a participant in the W3C [FedID](https://www.w3.org/community/fed-id/) community group working on [FedCM](/privacy-sandbox/3pcd/fedcm),\nGoogle Identity Services has been working to increase user privacy and security\nwhile also minimizing the changes to existing websites and preserving ease of\nuse for our users. The GIS JavaScript library now supports the proposed FedCM\nAPI.\n\nAs of August 2023, Google Identity Services fully supports FedCM and recommends\nits use. Changes to [adopt FedCM](/identity/gsi/web/guides/fedcm-migration) may be required for some existing web apps.\n| **Important:** When testing sign-in and third-party cookie blocking, you should start by updating to the latest stable version of Chrome.\n\nRecommended\n\n- [Enable FedCM](/identity/gsi/web/reference/js-reference#use_fedcm_for_prompt) for new web apps and [migrate](/identity/gsi/web/guides/fedcm-migration) existing apps.\n\nNot Recommended\n\n- Disabling FedCM.\n\nAs of August 2022, Google Identity Services has conducted a limited\n[FedCM origin trial](https://developer.chrome.com/blog/fedcm-origin-trial/). Approximately 20 websites and 300K users successfully\nsigned in using FedCM APIs and GIS.\n\nWe're pleased to say early feedback has demonstrated that for most websites,\nswitching to a more private and secure sign-in process without third-party\ncookies can occur transparently through backward compatible updates to the\nexisting GIS library. **Minimal to no changes to existing user flows and\nwebsites was required.** This is a critical point as widespread adoption of\nFedCM APIs relies on a trouble-free migration by existing websites.\n\nBased upon this preliminary feedback, GIS plans to expand participation in\ntesting GIS with FedCM.\n\nDuring trials these issues were discovered and may require some web sites to\ntake action when FedCM is adopted by GIS:\n\n- Browser rendered dialogs eliminate the existing ability for sites to use style attributes or intermediate iframes to control sign-in dialog positioning. This may obscure existing site content, some of which may be helpful or critical for users to see before signing in.\n- Although not yet widely deployed, some sites may use CSP and COOP. In these cases, sites may have to make [changes](/identity/gsi/web/guides/get-google-api-clientid#content_security_policy) to direct browsers to allow popups and to load cross-site resources."]]