Firebase身份验证/未经授权的域.域未授权 [英] Firebase Auth/unauthorized domain. Domain is not authorized
本文介绍了Firebase身份验证/未经授权的域.域未授权的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试运行 sample firebase项目,但在浏览器控制台中仍然出现此错误.
I am trying to run this sample firebase project, but I keep getting this error in the browser console.
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作为登录提供程序.
I have enabled Google in Authentication -> Sign-in Method as sign-in providers.
我想念什么吗?
一些指南会有所帮助.
我正在使用Firebase的免费计划.
And I am using Firebase's free plan.
推荐答案
您需要将域mail-demo-fcm.firebaseapp.com添加到 Firebase授权域中的身份验证"菜单
You need to add domain mail-demo-fcm.firebaseapp.com to Authentication menu in Firebase at Authorized domains
这篇关于Firebase身份验证/未经授权的域.域未授权的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文