[How to] How to prevent multiple logins with Meteor (allowing multiple tabs)

Hello everybody.

I created a small how-to, on using browser fingerprinting to only terminate sessions if it’s a ‘new’ browser, maintaining the capability of the user creating multiple tabs.

For this we use Meteor.logoutOtherClients, a Meteor method, Accounts.onLogin hook and fingerprintjs2.

Any feedback is welcomed.

6 Likes