自定义电子邮件验证 Firebase 操作代码 [英] Custom email validation Firebase Action code

查看:21
本文介绍了自定义电子邮件验证 Firebase 操作代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 firebase 开发一个应用程序.我想验证用户电子邮件,但由于 Firebase 不允许更改验证消息(为了帮助防止垃圾邮件,无法在此电子邮件模板上编辑该消息),我无法使用它.我不想向我的用户提供英文文本.

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.

有没有办法获取/生成自定义的 ActionCode?我用了这个 tut https://firebase.google.com/docs/auth/custom-email-handler 它可能会解决问题,因为我可以在某处获取临时操作代码.

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.

我找到了 applyActionCode 和 checkActionCode(看起来一样)但不像 createActionCode

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

推荐答案

求...

现在最好的程序(只需 1 个步骤)是让我们开发一个 HTML 文件,其中包含每个模板(电子邮件验证和电子邮件更改,甚至包括 %...% 中的片段)的确切内容正确的位置)并将它们作为附件发送到 Troubleshoot form 中,正如 Alfonso 在这个问题的评论.

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.

如果您发送确切的电子邮件 HTML 模板文件,除了快速验证您的 HTML 内容并获得批准外,您不会向 Google 的人员提出任何用于发送垃圾邮件的问题.

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.

这篇关于自定义电子邮件验证 Firebase 操作代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆