2014-10-21 24 views
0

我試圖測試我的流星應用,它使用基於Facebook的登錄集成,而不是連續部署它。爲此,我建立了ngrok,通過3000端口(我的本地流星服務器部署在那裏)連接到本地主機。服務器運行時沒有問題,我已將Facebook密鑰添加到該網站。我也使用accounts-baseaccounts-uiaccounts-facebook包。當我在Sign in with Facebook按鈕,點擊頁面的頂部,不過,我得到了以下錯誤消息:Ngrok和流星的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. 

有其他人有這個問題還是有它一個固定的想法?

感謝,

馬修

回答

0

這是因爲你還沒有加入您的應用程序域到您的Facebook應用程序設置。據我所知,Facebook不接受ngrok.io作爲有效的應用程序域。

您需要將您的應用程序部署到您的域名,將您的域名添加到Facebook應用程序設置,並且事情應該正常工作。