Firebase authentication email customisation

前端 未结 4 1737
孤独总比滥情好
孤独总比滥情好 2020-12-15 06:09

I\'m using firebase auth in my app and i\'m setting up password-less email sign up.

I have managed to set the email from my own domain but how do i change the text

4条回答
  •  囚心锁ツ
    2020-12-15 07:00

    There is no way to edit the email template. The reason for this is that this allows bad actors to use Firebase to spam people, which would put the service at risk.

    To control what message gets sent, you'll have to send it yourself and handle the verification flow with a custom email action handler. See How to modify Email Confirmation message - Firebase.

    You could also take full control of the verification flow, and then use the Admin SDK to set the emailVerified flag of the user's profile.

提交回复
热议问题