Google Identity Services در حال انتقال به APIهای FedCM است. راهنمای مهاجرت را دنبال کنید تا تغییرات احتمالی را بررسی کنید و از تأثیرات منفی ورود کاربر به وب سایت خود جلوگیری کنید.
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
این راهنما حاوی توضیحات مفصلی از تجربه کاربری One Tap است، از جمله زمانی که One Tap نمایش داده می شود یا نیست و رفتارهای جلسه کاربر.
انصراف جهانی
اگر کاربران پرچم درخواست ورود به سیستم حساب Google را در برنامههایی که به صفحه حساب شما دسترسی دارند غیرفعال کنند، میتوانند از One Tap انصراف دهند. جلسات انصراف داده شده در یک ضربه نشان داده نمی شود. اگر همه جلسات Google انصراف داده شوند، One Tap نمایش داده نمی شود.
اگر کاربر ورود شخص ثالث را در مرورگرهایی که FedCM فعال دارند غیرفعال کند، One Tap نمایش داده نمی شود. در تنظیمات Chrome در بخش حریم خصوصی و امنیت، کاربران نمایش درخواستهای ورود به سیستم شخص ثالث را به صورت جهانی یا برای سایتهای جداگانه کنترل میکنند.
خنک شدن نمایی
اگر کاربر درخواست One Tap را به صورت دستی ببندد، درخواست One Tap سرکوب می شود. وقتی کاربر روی Closeclose در گوشه سمت راست بالای فرمان ضربه میزند، One Tap را میبندد، پس از آن One Tap برای مدتی در همان مرورگر یا آخرین وبسایت بازدید شده نمایش داده نمیشود.
زمانی که FedCM فعال نیست ، از دوره های زمانی نمایی زیر برای خنک کردن استفاده می شود:
بارهای متوالی بسته شد
دوره زمانی که One Tap غیرفعال است
1
دو ساعت
2
یک روز
3
یک هفته
4+
چهار هفته
پس از ورود موفقیت آمیز به سیستم با استفاده از یک ضربه یا دکمه ورود با Google، وضعیت خنک شدن بازنشانی می شود.
هنگامی که FedCM فعال است، فروشندگان مرورگر ممکن است دوره های زمانی خنک کننده خود را تعریف کنند.
حذف خودکار در مرورگرهای تلفن همراه
در مرورگرهای تلفن همراه و زمانی که FedCM فعال نباشد، Google One Tap پس از مدت کوتاهی بهطور خودکار بسته میشود، مگر اینکه کاربر مستقیماً با رابط کاربری One Tap تعامل داشته باشد.
آستانه اخراج خودکار 90 ثانیه است. این در معرض تغییر است.
نمایش یک گفتگو برای جلوگیری از کلیک های ناخواسته
One Tap اکنون با اقدامات امنیتی متفاوتی برای اعمال یکپارچگی گفتگو ارائه می شود، اما برخی از مرورگرها از این قابلیت ها پشتیبانی نمی کنند. مرورگرهای پشتیبانی نشده شامل مرورگرهای غیر مبتنی بر Chromium یا مرورگرهای قبل از نسخه 75 هستند. در این موارد، یا اگر دیالوگ با محتوای دیگری پوشانده شود، یک پنجره پاپ آپ نمایش داده می شود که رضایت کاربر را برای ایجاد یک حساب درخواست می کند.
UX ارتقا یافته در مرورگرهای ITP
به دلیل پیشگیری از ردیابی هوشمند (ITP)، UX معمولی One Tap در Chrome در iOS، Safari یا Firefox کار نمیکند. به جای آن یک UX متفاوت در این مرورگرها ارائه شده است. شما می توانید با تنظیم ویژگی data-itp_support این UX را در مرورگرهای ITP غیرفعال کنید.
One Tap UX ارتقا یافته در مرورگرهای ITP با یک صفحه خوش آمدگویی همانطور که در زیر نشان داده شده است شروع می شود. پس از انتخاب کاربر Continue، یک پنجره پاپ آپ باز می شود. UX در پنجره پاپ آپ بسیار شبیه به One Tap معمولی است.
وقتی جلسه Google وجود ندارد، پس از کلیک روی دکمه «ادامه»، کاربران باید ابتدا وارد حساب Google خود شوند. برای جزئیات بیشتر به پشتیبانی One Tap در مرورگرهای ITP مراجعه کنید.
سفرهای کاربر کلیدی
سفرهای کاربر بر اساس وضعیت های زیر متفاوت است.
وضعیت جلسه در وب سایت های گوگل عبارات زیر برای نشان دادن وضعیت مختلف جلسه Google هنگام شروع سفر کاربر استفاده می شود.
تک جلسه: دقیقاً یک جلسه فعال در وب سایت های گوگل وجود دارد.
چند جلسه: بیش از یک جلسه فعال در وب سایت های گوگل وجود دارد.
آیا با شروع سفر کاربر، حساب Google انتخاب شده وب سایت شما را تأیید کرده است یا خیر. عبارات زیر برای نشان دادن وضعیت تایید متفاوت استفاده می شود.
کاربر جدید: حساب انتخابی وب سایت شما را تأیید نکرده است.
کاربر بازگشتی: حساب انتخابی قبلاً وب سایت شما را تأیید کرده است.
سفر کاربر جدید تک جلسه ای
صفحه رضایت کاربر جدید.
دومین گفتگوی تأیید در یک پنجره بازشو برای مرورگرهای غیر Chromium.
پس از تایید کاربران، یک رمز شناسه با وب سایت شما به اشتراک گذاشته می شود.
سفر کاربر بازگشتی تک جلسه ای
صفحه کاربر بازگشتی
پس از اینکه کاربران روی دکمه کلیک کردند، یک رمز شناسه با وب سایت شما به اشتراک گذاشته می شود.
سفر کاربر جدید چند جلسه ای
صفحه انتخابگر حساب
صفحه رضایت
برای مرورگرهای غیر Chromium، این گفتگوی تأیید در یک پنجره بازشو نمایش داده میشود:
پس از رضایت کاربر، یک کد شناسه با وب سایت شما به اشتراک گذاشته می شود.
سفر کاربر بازگشتی چند جلسه ای
صفحه انتخابگر حساب
پس از اینکه کاربران یک حساب برگشتی را انتخاب کردند، یک رمز شناسه با وب سایت شما به اشتراک گذاشته می شود.
تاریخ آخرین بهروزرسانی 2024-02-28 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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"]],["تاریخ آخرین بهروزرسانی 2024-02-28 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThis guide explains the One Tap user experience, including when it's displayed and user session behaviors.\u003c/p\u003e\n"],["\u003cp\u003eUsers can globally opt out of One Tap by disabling Google Account sign-in prompts in their account settings.\u003c/p\u003e\n"],["\u003cp\u003eOne Tap has cooldown periods where it won't display after being manually closed by the user, with varying durations.\u003c/p\u003e\n"],["\u003cp\u003eOn mobile browsers, One Tap automatically closes after 90 seconds of inactivity without triggering a cooldown.\u003c/p\u003e\n"],["\u003cp\u003eA different One Tap user experience is provided for ITP browsers like Chrome on iOS, Safari, and Firefox.\u003c/p\u003e\n"]]],[],null,["# Understand the One Tap user experience\n\nThis guide contains detailed descriptions of the One Tap user experience,\nincluding when One Tap is or is not displayed and user session behaviors.\n\nGlobally opt out\n----------------\n\nUsers can opt out of One Tap if they disable the Google Account sign-in prompts\nflag in the [Apps with access to your account](https://myaccount.google.com/permissions) page. The opted-out sessions\naren't shown in One Tap. If all Google sessions are opted out, One Tap doesn't\ndisplay.\n\nIf a user disables third-party sign-in on browsers with [FedCM enabled](/identity/gsi/web/guides/overview#federated_credential_manager_fedcm), One\nTap is not displayed. In Chrome settings under the Privacy and Security section\nusers control the display of [third-party sign-in](https://support.google.com/chrome/answer/14264742) prompts either globally\nor for individual sites.\n\nExponential cooldown\n--------------------\n\nIf the user closes the One Tap prompt manually, the One Tap prompt is\nsuppressed. A user closes One Tap when they tap **Close**\nclose in the\ntop-right corner of the prompt, after which One Tap wouldn't display in the\nsame browser or the last website visited for a period of time.\n\nThe following exponential time periods are used for cooldowns when FedCM is\n**not** enabled:\n\n| Consecutive times closed | Time period that One Tap is disabled |\n|--------------------------|--------------------------------------|\n| 1 | Two hours |\n| 2 | One day |\n| 3 | One week |\n| 4+ | Four weeks |\n\nThe cooldown status resets after a successful sign-in using One Tap or the Sign\nin with Google button.\n\nWhen FedCM is enabled, browser vendors may define their own, different, cooldown\ntime periods.\n| **Note:** When FedCM is enabled, Chrome users can reset cooldown status by clicking on the lock icon in the address bar and clicking the *Reset Permission* button.\n\nAuto-dismissal on mobile browsers\n---------------------------------\n\nOn **mobile** browsers, and when FedCM is not enabled, Google One Tap closes\nautomatically after a short time period unless the user directly interacts with\nthe One Tap UI.\n\nThe threshold for auto-dismissal is 90 seconds. This is subject to change.\n| **Note:** Auto-dismissal doesn't trigger a cooldown. Auto-dismissal doesn't happen on desktop, iPad, and tablet browsers.\n\nShow a dialog to prevent unintended clicks\n------------------------------------------\n\n| **Objective:** It's important that users understand the purpose of One Tap. They should be fully aware of the call to action when they give their consent to create an account, since they must share some personal information, such as their first name, last name, email, and profile picture.\n\nOne Tap now comes with different security measures to enforce the integrity of\nthe dialog, but some browsers don't support these capabilities. Unsupported\nbrowsers include non-Chromium-based ones or those before v75. In these cases, or\nif the dialog is covered with other content, a pop-up window is displayed that\nrequests the user's consent to create an account.\n\nUpgraded UX on ITP browsers\n---------------------------\n\nDue to\n[Intelligent Tracking Prevention](https://webkit.org/blog/9521/intelligent-tracking-prevention-2-3/) (ITP), the\nnormal One Tap UX doesn't work on Chrome on iOS, Safari, or Firefox. A different\nUX is provided instead on these browsers. You have the option to disable this UX\non ITP browsers by setting the [`data-itp_support`](/identity/gsi/web/reference/html-reference#data-itp_support) attribute.\n\nThe upgraded One Tap UX on ITP browsers begins with a welcome page as shown\nbelow. After the user selects Continue, a pop-up window is opened. The UX in the\npop-up window is very similar to normal One Tap.\n\nWhen there is no Google session, after the 'Continue' button is clicked, users\nmust first sign in to their Google Account. See\n[One Tap support on ITP browsers](/identity/gsi/web/guides/itp) for more details.\n| **Note:** To avoid the flashing pop-up issue, auto sign in isn't supported.\n\nKey user journeys\n-----------------\n\n| **Note:** Refer to [Automatic sign-in key user journeys](/identity/gsi/web/guides/automatic-sign-in-sign-out#key_user_journeys) for the UX flow when automatic sign-in is enabled.\n\nThe user journeys vary based on the following statuses.\n\n- Session status on Google websites. The following terms are used to indicate\n different Google session status when the user journey starts.\n\n - Single-session: There is exactly one active session on Google websites.\n - Multiple-session: There are more than one active sessions on Google websites.\n\n | **Key Point:** One Tap is not shown if there is no active session on Google websites.\n- Whether the selected Google Account has approved your website when the user\n journey starts. The following terms are used to indicate different approval\n status.\n\n - New user: The selected account hasn't approved your website.\n - Returning user: The selected account has approved your website before.\n\n### Single-session new user journey\n\n1. The new user consent page.\n\n2. The second confirmation dialog in a pop-up window for non-Chromium browsers.\n\n3. After users confirm, an ID token is shared with your website.\n\n### Single-session returning user journey\n\n1. The returning user page.\n\n2. After users click the button, an ID token is shared with your website.\n\n### Multiple-session new user journey\n\n1. The account chooser page.\n\n2. The consent page.\n\n For non-Chromium browsers, this confirmation dialog is displayed in a\n pop-up window:\n\n3. After user consent, an ID token is shared with your website.\n\n### Multiple-session returning user journey\n\n1. The account chooser page.\n\n2. After users select a returning account, an ID token is shared with your\n website."]]