Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Custom email validation Firebase Action code

I am working on a Application with firebase. I want to validat a users email, but since Firebase doesn't allow to change the verification message (To help prevent spam, the message can't be edited on this email template), i can't use this. I don't want to serve English text to my users.

Is there a way to get/generate a custom ActionCode? I used this tut https://firebase.google.com/docs/auth/custom-email-handler it might solve the problem is i can get the temp actioncode somewhere.

I found applyActionCode and checkActionCode (seems the same) but not something like createActionCode

like image 434
user1664803 Avatar asked Sep 09 '16 11:09

user1664803


2 Answers

Ask for it...

Nowadays the best procedure (with just 1 step) was for us to develop an HTML file with the exact content for each of your templates (Email-Verification and Email-Change, including even the snippets %...% in the right place) and send them as attachment in the Troubleshoot form as mentioned by Alfonso in the comments of this question.

If you send the exact email HTML template file, you leave Google's people with no questions for spamming purposes other than quickly validating your HTML content and approve.

like image 122
DavidTaubmann Avatar answered Oct 05 '22 03:10

DavidTaubmann


you can change the language for all the templates, at the bottom...

change the language for all the templates

also you can edit manually the body and the subject for the forgot password template

like image 36
mmucito Avatar answered Oct 05 '22 02:10

mmucito