Google Cloud“Cloud Identity”、“Firebase Auth”、“Identity Platform”之间的区别

lim*_*jix 5 firebase google-cloud-platform firebase-authentication google-cloud-identity

我试图了解以下之间的区别:Cloud Identity、Firebase Auth、Identity Platform

我已阅读以下文件:https : //cloud.google.com/identity-platform/docs/product-comparison https://cloud.google.com/blog/products/identity-security/identity-and-authentication -the-google-cloud-way

我的问题是:

  1. 为什么身份平台是市场的一部分而不是普遍可用的服务?
  2. 识别平台似乎是 Cloud Identity 的一个子集,为什么?
  3. 在什么情况下我应该选择哪种服务?
  4. 如果我决定使用 Identity Platform 而不是 Firebase Auth,这会影响 Firestore 规则的执行方式吗?因为 Firestore 规则依赖于 Firebase Auth
  5. 这些身份验证系统中的任何一个都可以跨项目共享吗?例如,我正在将各种业务目标构建到根据项目分组的功能中。我希望 1 个身份验证机制可以在所有这些项目中工作,以使用 JWT 令牌保护 API 请求,确保如果每个项目都有自己的 Firestore 数据库,Firestore 规则仍然可以有效使用,客户端 SDK 的安全访问以访问 Bigtable 或 Bigquery 等数据库产品,以及提供对前端应用程序的访问。

如果您需要了解我的用例,我基本上是在构建一个模块化企业应用程序,供我公司用于我们的建筑项目。

谢谢大家!

Fra*_*len 2

如果我决定使用 Identity Platform 而不是 Firebase Auth,这会影响 firestore 规则的完成方式吗?

当您使用 Cloud Identity Platform 时,您仍然使用 Firebase SDK 让用户登录到您的应用,并且他们的令牌信息在您的 Firestore 安全规则中仍然以完全相同的格式提供。