是否可以使用 Firebase Admin Python SDK 添加 TOTP 多重身份验证?

问题描述 投票:0回答:1

我在浏览一些 Firebase 文档时遇到了一些麻烦。我在 Web 应用程序上使用 Firebase JS SDK,在后端使用 Firebase Admin SDK (Python)。我已通过 GCP 启用了 Identity Platform。

根据这里的文档: https://firebase.google.com/docs/auth/web/totp-mfa

...

If you haven't done so already, install the Firebase JavaScript SDK.

TOTP MFA is only supported on the modular Web SDK, versions v9.19.1 and above.

If you haven't done so already, install the Firebase Admin SDK.

TOTP MFA is only supported on Firebase Admin SDK versions 11.6.0 and above.

没有指定只有 Node.js 支持此 MFA 功能,但我找不到任何有关如何在我的 Python/Flask 环境中执行此操作的相关文档。是否可以使用最新的 Firebase Admin Python SDK 使用此功能?

谢谢!

到目前为止,我已经查看了文档,但无法找到任何有关如何使其发挥作用的相关资源/信息。我确实在生产中使用了 Firebase Admin Python SDK。

python firebase-authentication firebase-admin multi-factor-authentication
1个回答
0
投票

我检查了最近的 Python Admin SDK 版本,没有看到任何提及 TOTP 支持的地方 - 所以看起来确实从未添加过这种支持。

我建议在

firebase-admin-python
存储库 上提交功能请求,或者更好:提交 PR 来添加它。

© www.soinside.com 2019 - 2024. All rights reserved.