相关疑难解决方法(0)

如何在Firebase 3.x中禁用注册

我使用firebase.auth().signInWithEmailAndPassword创建了一些用户,并希望立即停止signUp,但保持signIn工作.我尝试了一些关于用户的规则,甚至根本不再写入firebase.但是仍然可以进行注册.在控制台中禁用电子邮件/密码也会禁用登录.

{
  "rules": {
        ".read": true,
        ".write": false,
      }
}
Run Code Online (Sandbox Code Playgroud)

有关如何将安全规则应用于Firebase 3中的用户的任何想法?

firebase firebase-authentication firebase-realtime-database

17
推荐指数
4
解决办法
9221
查看次数

Identity Platform 和使用 Identity Platform 进行 Firebase 身份验证有什么区别

Firebase 宣布了一项名为 Firebase Authentication with Identity Platform 的新可选升级,但新功能已存在于 GCP Identity Platform 上。

正如这里的文档中提到的

Identity Platform 充当带有 Identity Platform 的 Firebase 身份验证的后端,并且提供的功能是相同的。

我想知道:

  • 新升级发布后发生了哪些变化,我们可以如何从中受益?
  • 我们现在是否应该选择仅使用 Firebase Authentication with Identity Platform 和 GCP Identity Platform 之一?
  • 如果我想从 GCP Identity Platform 迁移到 Firebase Authentication with Identity Platform,应该实施哪些更改?

firebase google-cloud-platform firebase-authentication google-identity

12
推荐指数
2
解决办法
4146
查看次数