0

I am using firebase admin api to generate email links in cloud functions. I have my own locale specific templates and I embed url's generated by below api's in my template. Finally i use nodemailer to send the email.

admin.auth().generatePasswordResetLink(email)
admin.auth().generateEmailVerificationLink(email)

But for some reason the links generated by the API are not using custom domain. Any ideas ? Is admin api not respecting the console configuration ?

I have configured custom domain via firebase console. enter image description here

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
Saurabh Kumar
  • 16,353
  • 49
  • 133
  • 212

0 Answers0