【问题标题】:How do I enforce App Check in Cloud Firestore?如何在 Cloud Firestore 中强制执行 App Check?
【发布时间】:2021-07-29 02:50:39
【问题描述】:

我已经在我的 Firebase 项目中为我的移动应用和我的网络应用设置了 App Check。

完成此操作后,我已按照说明 here 在各种 Firebase 产品(例如 Cloud Functions 和 Cloud Storage)中启用 App Check。

但是,这些说明并未提及 Cloud Firestore。如何在 Cloud Firestore 中启用 App Check?上面的链接没有提供任何信息,我在 Cloud Firestore 文档中找不到任何内容。

【问题讨论】:

    标签: google-cloud-firestore firebase-app-check


    【解决方案1】:

    firebaser 在这里

    更新(2021 年 11 月 10 日):Firebase 刚刚向 Firestore 添加了对 App Check 的支持。对于此版本和所有最新版本,请查看:https://firebase.googleblog.com/2021/11/whats-new-at-Firebase-Summit-2021.html#Strengthening


    老答案?,你真的应该检查更新?...

    根据Firebase App Check上的文档:

    App Check 目前适用于以下 Firebase 产品:

    • 实时数据库
    • 云存储
    • 云函数(可调用函数)

    所以 Cloud Firestore 还不支持 App Check。虽然我们肯定有兴趣在未来向 Firestore 添加对 App Check 的支持,但没有时间表说明何时可用。

    【讨论】:

    • 感谢您的回复!这是我的 +1,支持向 Firestore 添加 App Check 支持! :-)
    • 今天 Firebase 发布了适用于 Firestore 的 AppCheck。见firebase.googleblog.com/2021/11/…
    猜你喜欢
    • 1970-01-01
    • 2019-05-18
    • 2018-03-20
    • 1970-01-01
    • 1970-01-01
    • 2019-11-01
    • 1970-01-01
    • 2018-04-28
    • 2019-12-14
    相关资源
    最近更新 更多