gpt4 book ai didi

Firebase 身份验证与多重身份验证

转载 作者:行者123 更新时间:2023-12-03 00:45:14 26 4
gpt4 key购买 nike

有没有办法在 Firebase 身份验证上实现多重身份验证?根据我的研究,这似乎是不可能的,因为 Firebase 身份验证具有公共(public) REST api,假设知道 API_KEY 和用户电子邮件/通行证的人可以使用直接登录该用户的帐户

https://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyPassword?key=[API_KEY]

谢谢

最佳答案

更新:2020 年 6 月

从 2020 年 3 月 12 日起,现在可以使用 Firebase 使用短信作为第二因素来设置多重身份验证 Google Cloud Identity Platform项目,但这是一项付费服务​​。 This article向您展示如何将短信多重身份验证添加到您的网络应用程序。

<小时/>

我引用的是github firebase repo.这里。

Firebase Auth does not support multi-factor authentication. FirebaseUI cannot support this feature until the underlying SDK supports it. For 2-factor auth, 2 credentials need to be passed to get a Firebase ID token. Currently, one is enough to get an ID token. You can submit an official request for multi-factor auth with Firebase support.

但是,如果从 Google settings 启用,多重身份验证本身可以与 Google 帐户和 FirebaseUI 配合使用。 .

希望有帮助。

关于Firebase 身份验证与多重身份验证,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52886244/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com