0

我正在尝试在本地测试我的流星应用程序,它使用基于 Facebook 的登录集成,而不是连续部署它。为此,我将 ngrok 设置为通过 3000 端口连接到我的本地主机,我的本地流星服务器部署在该端口。服务器运行没有问题,我已将 Facebook 密钥添加到该站点。我也在使用accounts-baseaccounts-uiaccounts-facebook包。但是,当我单击 Sign in with Facebook页面顶部的按钮时,我收到以下错误消息:

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.

有没有其他人遇到过这个问题或有解决这个问题的想法?

谢谢,

马修

4

1 回答 1

0

这是因为您尚未将应用域添加到 Facebook 应用设置。据我所知,Facebook 不接受 ngrok.io 作为有效的应用程序域。

您需要将您的应用程序部署到您的域,将您的域添加到 Facebook 应用程序设置,一切应该可以正常工作。

于 2015-06-29T21:56:14.960 回答