Is there a way to send the verification email with the Firebase Admin SDK from my Node.js server?

前端 未结 3 1117
走了就别回头了
走了就别回头了 2020-12-19 00:13

Is there a way to send the email verification email from my server ?

This is how it\'s done on the client:

authData.sendEmailVerification().then(func         


        
3条回答
  •  我在风中等你
    2020-12-19 00:58

    I just came across the same problem as you. There is a function to generate the verification link using user's email address.

    I used this function on an array of email addresses, then load the result to my mail automation API to send mails out. This function is weirdly not documented:

    admin.auth().generateEmailVerificationLink([EMAIL_ADDRESS])
    

提交回复
热议问题