تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
عندما يسجّل المستخدم الدخول باستخدام حسابه على Google في متصفّح ويب أو على
جهاز Android، يمكنه تسجيل الدخول بسلاسة على جميع متصفّحات الويب و
أجهزة Android باستخدام حساب Google نفسه. تتيح هذه الميزة للمستخدمين الحصول على أفضل تجربة من أجهزة متعددة من خلال تسهيل تسجيل الدخول إلى خدمتك.
عند تحميل الزر على الويب، يتم التحقق على الفور لمعرفة ما إذا كان المستخدم قد صرّح باستخدام التطبيق. يُعرف هذا التحقّق باسم "الوضع الفوري"،
وفي حال نجاحه، تُعرِض خوادم Google رمز أمان وصول وتُرسِل عنصرًا جديدًا
لنتيجة التفويض إلى دالة الاستدعاء. وإذا لم يتمكّن هذا الزر من منح الإذن في الوضع الفوري، على المستخدم النقر على زر تسجيل الدخول لبدء مسار الوصول.
يجب أن تتطابق النطاقات المطلوبة على كل منصة مع النطاقات من منصّات
أخرى.
يعمل نظام "الدخول المُوحَّد على جميع المنصات" للمستخدم عند استيفاء
المتطلبات التالية:
سجَّل المستخدم الدخول إلى Google في المتصفّح أو على جهاز Android.
فوَّض المستخدم تطبيقك سابقًا بالنطاقات نفسها.
تشبه هذه التجربة تجربة فتح مستخدم لتطبيق Android للمرة
الثانية. إذا سبق للمستخدم تفويض التطبيق، سيظل مسجِّلاً
الدخول: لا ينقر المستخدمون على زر تسجيل الدخول في كل مرة يفتحون فيها التطبيق.
عندما يسجّل المستخدم الدخول بسلاسة، تعرِض Google تذكيرًا بأنّه
سجّل الدخول باستخدام حسابه على Google. يظهر هذا التذكير مرة واحدة فقط لكل جهاز.
تاريخ التعديل الأخير: 2025-08-31 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-08-31 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eGoogle Sign-In library support is deprecated and will require using FedCM APIs in the future.\u003c/p\u003e\n"],["\u003cp\u003eCross-platform single sign-on enables seamless sign-in across web and Android using the same Google Account, provided the user has previously authorized the app with matching scopes.\u003c/p\u003e\n"],["\u003cp\u003eUsers will experience automatic sign-in if they have previously authorized the app, similar to using an Android app for the second time.\u003c/p\u003e\n"],["\u003cp\u003eUpon seamless sign-in, users will see a one-time reminder on each device indicating they are logged in with their Google Account.\u003c/p\u003e\n"]]],[],null,["# Cross-platform single sign-in\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\nWhen a user signs in with their Google Account in a web browser or on an\nAndroid device, they can be seamlessly signed in across web browsers and\nAndroid devices using the same Google Account. This feature allows users to\nget the best experience out of multiple devices by making it\neasier for them to sign in to your service.\n\nWhen the button is loaded on the web, it immediately checks to see if the\nuser has authorized the application. This check is called \"immediate mode\"\nand if successful, the Google servers return an access token and pass a new\nauthorization result object to the callback. If the button cannot make an\nimmediate-mode authorization, the user must click the sign-in button to\ntrigger the access flow.\n\nTo enable cross-platform single sign-on:\n\n1. The Android and web app must be registered in the same [Google API Console](https://console.cloud.google.com/) project.\n2. The requested scopes on each platform must match the scopes from other platforms.\n\nCross-platform single sign-on works for the user when the following\nrequirements are met:\n\n1. The user is signed in to Google in the browser or on the Android device.\n2. The user has previously authorized your app for the same scopes.\n\nThis experience is similar to when a user opens an Android app the second\ntime. If the user previously authorized the app, then the user remains signed\nin: users don't click the sign-in button every time they open the app.\n\nWhen a user is seamlessly signed in, Google displays a reminder that they are\nlogged in using their Google Account. This reminder only appears\nonce per device."]]