How to modify Email Confirmation message - Firebase

谁说我不能喝 提交于 2019-12-07 16:39:26

问题


I am using email & password authentication provided by Firebase.

Below is the message the user gets, when they confirm their email address. Is there any way to customize the below message.

I would like to add a link to this message so that the users can be directed to the website. Can someone please suggest, how I could achieve this.


回答1:


You can customize this page by setting up a custom email action handler.

From there:

To customize your Firebase project's email action handler, you must create and host a web page that uses the Firebase JavaScript SDK to verify the request's validity and complete the request. Then, you must customize your Firebase project's email templates to link to your custom action handler.

But you should really just follow the link and read the entire page on the Firebase site as it contains a great description and sample code.




回答2:


This page explains it very well.

https://firebase.google.com/docs/auth/custom-email-handler

The only thing I dont like is that the email message body cannot be customized. Allowing a Mandrill integration would be awesome imo.



来源:https://stackoverflow.com/questions/39470459/how-to-modify-email-confirmation-message-firebase

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!