简体   繁体   English

单独使用 Google Identity Platform + Firebase Auth

[英]Use Google Identity Platform + Firebase Auth seperately

It is possible to use Google Identity Platform and Firebase Auth concurrently in the same project without upgrading my email/password users in Firebase Auth to Google Identity Platform and having to pay for those users?是否可以在同一项目中同时使用 Google Identity Platform 和 Firebase Auth,而无需将我在 Firebase Auth 中的电子邮件/密码用户升级到 Google Identity Platform 并为这些用户付费?

Attempting to use Google Identity Platform seems to force me to move all my users in Firebase Auth over to it.尝试使用 Google Identity Platform 似乎迫使我将 Firebase Auth 中的所有用户转移到它。

As far as I know it is indeed not possible to use Google Cloud's Identity Platform and Firebase Authentication on a single project.据我所知,确实不可能在单个项目上同时使用 Google Cloud 的身份平台和 Firebase 身份验证。 You'll have to pick one, and use that for the entire project.您必须选择一个,并将其用于整个项目。

The only alternative I can think of is setting up separate projects for each, and accessing the specific project for the type of user.我能想到的唯一选择是为每个项目设置单独的项目,并为用户类型访问特定项目。 But in that scenario you'll have to deal with data migration and probably more nasty situations.但在那种情况下,您将不得不处理数据迁移和可能更糟糕的情况。


Update : since June 2022 the upgrade to Identity Platform is available directly within Firebase. While this optional upgrade does switch you to a different pricing plan which is no longer unlimited, it comes with a generous free tier of 50,000 MAU (monthly active users).更新:自 2022 年 6 月起,可直接在 Firebase 内升级到 Identity Platform。虽然此可选升级确实会将您切换到不再无限制的不同定价计划,但它提供了 50,000 MAU(每月活跃用户)的慷慨免费套餐。

For more on this see the announcement blog post MFA, Blocking functions, and more come to Firebase Authentication and the documentation section on Firebase Authentication with Identity Platform .有关这方面的更多信息,请参阅公告博客文章MFA、阻止功能,以及更多关于 Firebase 身份验证和关于Firebase 使用身份平台进行身份验证的文档部分。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM