【发布时间】:2018-06-13 02:29:05
【问题描述】:
我正在尝试运行此 sample firebase 项目,但我在浏览器控制台中不断收到此错误。
Lf {code: "auth/unauthorized-domain", message: "This domain (mail-demo-fcm.firebaseapp.com) is not…se console -> Auth section -> Sign in method tab."}
code: "auth/unauthorized-domain"
message: "This domain (mail-demo-fcm.firebaseapp.com) is not authorized to run this operation. Add it to the OAuth redirect domains list in the Firebase console -> Auth section -> Sign in method tab."
我已在身份验证中启用 Google -> 登录方法作为登录提供程序。
我错过了什么吗?
一个小指南会很有帮助。
我正在使用 Firebase 的免费计划。
【问题讨论】:
-
这里也不要使用 IP 地址作为 URL。 使用 localhost 代替 127.0.0.1。
标签: firebase firebase-authentication google-cloud-functions