重定向 URI 尚未更新
Redirect URI hasn't updated
我有一个 Meteor 应用程序,正在使用以下功能登录 facebook
fbLogin = function() {
Meteor.loginWithFacebook({
requestPermissions: ['public_profile', 'email', 'user_location']
}, function(err) {
if (err)
// redirect to register if popup comes and user isn't on register
Session.set('errorMessage', err.reason || 'Unknown Eror');
console.log(Session.get('errorMessage'));
});
}
凭据已设置并正常工作(应用程序 ID 和密码)
最近,我用新的 Domain 和 Site url 更新了我的 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.
错误 url 中的 redirect_uri 参数设置为 旧 站点 url
Facebook 的结束是否有延迟或手头的其他问题?
当通过 https://www.facebook.com/dialog/oauth 请求提交的 redirect_uri 不在以下有效 OAuth 重定向 URI 列表中时,可能会发生这种情况:
设置>>高级>>安全
添加一个 redirect_uri 像 https://www.facebook.com/connect/login_success.html 作为例子
我有一个 Meteor 应用程序,正在使用以下功能登录 facebook
fbLogin = function() {
Meteor.loginWithFacebook({
requestPermissions: ['public_profile', 'email', 'user_location']
}, function(err) {
if (err)
// redirect to register if popup comes and user isn't on register
Session.set('errorMessage', err.reason || 'Unknown Eror');
console.log(Session.get('errorMessage'));
});
}
凭据已设置并正常工作(应用程序 ID 和密码)
最近,我用新的 Domain 和 Site url 更新了我的 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.
错误 url 中的 redirect_uri 参数设置为 旧 站点 url
Facebook 的结束是否有延迟或手头的其他问题?
当通过 https://www.facebook.com/dialog/oauth 请求提交的 redirect_uri 不在以下有效 OAuth 重定向 URI 列表中时,可能会发生这种情况:
设置>>高级>>安全 添加一个 redirect_uri 像 https://www.facebook.com/connect/login_success.html 作为例子