Custom email validation Firebase Action code

我怕爱的太早我们不能终老 提交于 2019-12-17 19:59:54

问题


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


回答1:


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.




回答2:


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

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




回答3:


You can customize the email validation template text as you wish? Right?



来源:https://stackoverflow.com/questions/39410923/custom-email-validation-firebase-action-code

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