有没有办法为Firebase用户创建和/或密码重置做电子邮件确认? [英] Is there any way to do email confirmation for Firebase user creation and/or password reset?

查看:116
本文介绍了有没有办法为Firebase用户创建和/或密码重置做电子邮件确认?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题说明了一切。在Firebase中,如何在用户创建帐户时确认电子邮件,或者通过电子邮件进行密码重置。



我可以更广泛地问:任何方式从Firebase发送电子邮件?例如。通知等等。这不是你通常做客户端的那种东西。

解决方案

这需要是在Firebase之外完成。我将用户保存在/ users /并保持其状态(PENDING,ACTIVE,DELETED)。我有一个小服务,监视用户的待办状态,并发出确认电子邮件。其中有一个链接到我已经创建的Web服务,以更新用户状态为ACTIVE。

Question says it all. In Firebase, how do I confirm email when a user creates an account, or, for that matter, do password reset via email.

I could ask more broadly: is there any way to send emails out from Firebase? E.g. notifications, etc. This isn't the kind of thing you would usually do client-side.

解决方案

This would need to be done outside of firebase. I store users at /users/ and keep a status on them (PENDING, ACTIVE, DELETED). I have a small service that monitors users of a PENDING status and sends out a confirmation email. Which has a link to a webservice I've created to update the user status to ACTIVE.

这篇关于有没有办法为Firebase用户创建和/或密码重置做电子邮件确认?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆