Firebase auth-如何在手机OTP auth SMS上使用自定义域?

发布于 2025-02-10 20:36:16 字数 241 浏览 0 评论 0原文

我正在构建一个Flutter应用程序并使用Firebase Auth,用于用户的手机登录,并带有带有验证代码的Firebase域的OTP SMS。我如何设置它以在短信上显示我的域。

123456是您的域验证代码。firebaseapp.com

如何设置OTP以显示 domain.com ,而不是, domain.firebaseapp.com

I am building a flutter app and using Firebase Auth, for the Phone sign in users receive an OTP SMS with a firebase domain with the verification code. How can I set it up to show my domain on the SMS.

123456 is your verification code for domain.firebaseapp.com

How can I set up the OTP to show domain.com, instead of, domain.firebaseapp.com ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

囚你心 2025-02-17 20:36:16

域名不过是您在Firebase上项目的名称。您仅在开发模式下才能收到该格式

一旦,您的应用已直播,您将获得以下结果:

123456 is your verification code for <YOUR APP NAME ON PLAY/APP STORE>

Domain is nothing but the name of your project on Firebase. You will only recieve that format in development mode only.

Once, your app is live, you will get following result:

123456 is your verification code for <YOUR APP NAME ON PLAY/APP STORE>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文