firebase-admin python发送密码重置电子邮件

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

在Python中我试图做'发送密码重置电子邮件',javascript参考(https://firebase.google.com/docs/reference/js/firebase.auth.Auth#sendPasswordResetEmail)。到目前为止(也是最近)它看起来像'生成密码重置链接'被添加(https://github.com/firebase/firebase-admin-python/releases)。有人知道发送电子邮件的下一步吗?我们自己发送电子邮件吗?如果有,有什么建议吗?有没有办法直接在python中发送电子邮件?

感谢您的所有帮助!

python python-3.x firebase firebase-admin
1个回答
0
投票

谢谢(bojeil-google)在Github上提供答案。显然,这样做的方法是根据https://firebase.google.com/docs/reference/rest/auth/#section-send-password-reset-email发出POST请求。在python SDK中没有直接调用这样做。再次感谢!

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