Firebase 身份验证/未经授权的域.域未授权 [英] Firebase Auth/unauthorized domain. Domain is not authorized

查看:26
本文介绍了Firebase 身份验证/未经授权的域.域未授权的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试运行这个

我错过了什么吗?

一个小指南会很有帮助.

我正在使用 Firebase 的免费计划.

解决方案

您需要添加域 mail-demo-fcm.firebaseapp.com 到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."

I have enabled Google in Authentication -> Sign-in Method as sign-in providers.

Am I missing something ?

A little guide will be helpful.

And I am using Firebase's free plan.

解决方案

You need to add domain mail-demo-fcm.firebaseapp.com to Authentication menu in Firebase at Authorized domains

这篇关于Firebase 身份验证/未经授权的域.域未授权的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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