Login with Facebook


#1

#Login with Facebook

Hi guys, im trying to use accounts-facebook

i made it work perfectly except that if i login and then Meteor.logout(); and try to login with another facebook account i always get online with the first account :open_mouth:

Meteor.loginWithFacebook(_user, _pass, function(err) {
            if (err) {
              console.log('Error');
            } else {
              Meteor.logoutOtherClients();
              Router.go('/welcome');
              console.log('OK');
            }
   });

My Logout function:

Template.menu.events({
    'click #salir': function(event) {
        Meteor.logout();
    }
});

Thanks!