Meteor accounts-facebook 无法在服务器上运行
Meteor accounts-facebook not working on server
我已经按照本教程 (http://bulenttastan.net/login-with-facebook-using-meteor-js/) 设置了 Meteors accounts-facebook 包。该应用程序在本地环境 (localhost) 上工作时运行良好。
现在我已经在我的服务器上托管了该应用程序,我在我的 Facebook 应用程序面板上进行了以下配置。
但是当我尝试从我的应用程序登录时,我收到以下错误消息:
"URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs."
我的应用程序托管在端口“3002”上,因此,我在 facebook 的站点 URL 部分以及站点 URL 上设置了端口和域名还设置了图片上给出的重定向 URI。
提前致谢。
已找到修复方法!设置 ROOT_URL 环境变量对我有用。
我已经按照本教程 (http://bulenttastan.net/login-with-facebook-using-meteor-js/) 设置了 Meteors accounts-facebook 包。该应用程序在本地环境 (localhost) 上工作时运行良好。
现在我已经在我的服务器上托管了该应用程序,我在我的 Facebook 应用程序面板上进行了以下配置。
但是当我尝试从我的应用程序登录时,我收到以下错误消息:
"URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs."
我的应用程序托管在端口“3002”上,因此,我在 facebook 的站点 URL 部分以及站点 URL 上设置了端口和域名还设置了图片上给出的重定向 URI。
提前致谢。
已找到修复方法!设置 ROOT_URL 环境变量对我有用。