[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-11。"],[[["\u003cp\u003eIdentity Platform offers a secure and user-friendly way to authenticate users for various applications and services, including mobile, web, and multi-tenant SaaS apps.\u003c/p\u003e\n"],["\u003cp\u003eThis platform supports authentication through multiple methods, such as email/password, phone numbers, and federated identity providers like Google, Facebook, and Twitter, as well as SAML or OpenID Connect.\u003c/p\u003e\n"],["\u003cp\u003eIdentity Platform seamlessly integrates with Google Cloud services and utilizes industry standards like OAuth 2.0 and OpenID Connect for easy integration with custom backends.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can leverage the Identity Platform SDK to incorporate various sign-in methods and UI libraries into their apps or use open source UI components for an easier sign-in implementation.\u003c/p\u003e\n"],["\u003cp\u003eIdentity platform handles token verification and returns a response to the client, managing authentication artifacts, allowing you to control user's access to data and verify their identity in your own backend.\u003c/p\u003e\n"]]],[],null,["# Authentication\n==============\n\nIdentity Platform allows users to authenticate to your apps and services,\nlike multi-tenant SaaS apps, mobile/web apps, games, APIs and more.\nIdentity Platform provides secure, easy-to-use authentication if you're building a service on\nGoogle Cloud, on your own backend or on another platform.\n\nIdentity Platform provides backend services and works with the easy-to-use\nSDKs and ready-made UI libraries to authenticate users to your\napp. It supports authentication using passwords, phone numbers, popular\nfederated identity providers like Google, Facebook, Twitter, and any provider\nthat supports SAML or OpenID Connect protocol.\n\nIdentity Platform integrates tightly with Google Cloud services, and\nit leverages industry standards like OAuth 2.0 and OpenID Connect, so it can be\neasily integrated with your custom backend.\n\nKey capabilities\n----------------\n\nYou can use the SDK to integrate one or more sign-in methods into your app.\n\nHow does it work?\n-----------------\n\nTo sign a user into your app, you first get\nauthentication credentials from the user. These credentials can be the user's\nemail address and password, a SAML assertion, or an OAuth token from a federated\nidentity provider. In the case of federated identity providers, the providers return those\ntokens to Identity Platform's authentication handler on the\n`/__auth/handler` endpoint. This service is hosted by Google, so you\ndon't have to receive and validate the authentication artifact. After the\ntokens are received, our backend services will verify them and return a\nresponse to the client.\n\nAfter a successful sign in, you can access the user's basic profile information,\nand you can control the user's access to data stored in Google Cloud or other\nproducts. You can also use the provided authentication token to verify the\nidentity of users in your own backend services.\n\nImplementation paths\n--------------------\n\n| **Important:** When an interaction with Firebase services like Firestore is initiated by a trusted service or backend, you can use the Firebase Admin SDKs to avoid the stricter end-user-facing limits that apply to non-admin actions.\n\nWhat's next\n-----------\n\nLearn more about users in an Identity Platform project, then see the\nintegration guides for the sign-in providers you want to support:\n\n\n[iOS](https://firebase.google.com/docs/auth/ios/start)\n[Android](https://firebase.google.com/docs/auth/android/start)\n[Web](https://firebase.google.com/docs/auth/web/start)\n[C++](https://firebase.google.com/docs/auth/cpp/start)\n[Unity](https://firebase.google.com/docs/auth/unity/start)\n[Admin](https://firebase.google.com/docs/auth/admin)\n[OIDC (Web)](/identity-platform/docs/how-to-enable-application-for-oidc)\n[SAML (Web)](/identity-platform/docs/how-to-enable-application-for-saml)"]]