Facebook应用程序:Firebase简单登录URL错误 [英] Facebook App: Firebase Simple Login URL error

查看:178
本文介绍了Facebook应用程序:Firebase简单登录URL错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用我的第一个应用程序使用Facebook登录和Firebase简单登录。我在本地运行系统 http:// localhost:8000 / 。点击登录按钮时收到的错误如下:

I am trying to make my first app using Facebook login and the Firebase Simple Login. I am running the system locally on http://localhost:8000/. The error I am receiving upon clicking the login button is below.


应用程序配置不允许使用URL:One或
更多的应用程式设定不允许使用这些网址,必须
与网站网址或画布网址相符,否则网域必须是应用程式域名之一的子网域
。 / p>

"Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains."

我已经尝试在生产的Facebook应用程序和Facebook测试应用程序上运行它,以及在其他论坛帖子之后添加了URL重定向和网站平台我已经看到了,但没有什么可以为我工作。任何人都有任何建议?

I have tried running it on a production facebook app and a facebook test app as well as added URL redirects and website platforms following other forum post I have seen, but nothing is working for me. Anyone have any suggestions?

推荐答案

我在Firebase文档中发现 https://auth.firebase .com / auth / facebook / callback 必须输入到高级设置下的有效OAuth重定向URI中。

I discovered in the Firebase documentation that https://auth.firebase.com/auth/facebook/callback must be input into the Valid OAuth redirect URIs under the advanced settings.

Facebook测试应用设置:

Recap of Facebook Test App Settings:

在基本应用设置下:
Domain = localhost:8080
URL = code> http:// localhost:8080

Under Basic App Settings: Domain = localhost:8080 URL = http://localhost:8080

在高级应用程序设置下:
有效的OAuth重定向URI [ http:// localhost:8080 / ; https://auth.firebase.com/auth/facebook/callback ]

Under Advanced App Settings: Valid OAuth redirect URIs [http://localhost:8080/ ; https://auth.firebase.com/auth/facebook/callback]

这篇关于Facebook应用程序:Firebase简单登录URL错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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