I get the following strange Error in my meteor application when users try to login with facebook. Its not that all logins are not working but as we launched today i get 4 or 5 every hour. Which also means im loosing many users.
Error:
Accounts.LoginCancelledError: No matching login attempt found
Method which throws the error(its called on client side):
Meteor.loginWithFacebook({requestPermissions: ['email']}, function(err){
if (err) {
console.log(err);
throw new Meteor.Error("Facebook login failed");
}
else
{
Router.go('browseCampaigns');
}
});
Also i add the FB Profile Picture in the onCreateUser() Method:
user.services[service].picture = "https://graph.facebook.com/" + user.services[service].id + "/picture/?type=large";
Can this cause this problem?
If you have facebook working when you test it this can be caused by:
There's not much that can be done in the first case. You've mentioned in your code you ask the user for their email address. If a user is uncomfortable with this they are likely to close the login popup.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With