I am using satellizer in my second MEAN webapp and I need to avoid a user from loggin in twice at the same time (using two different computers).
My approach would be:
Create a collection that stores the users that are logged in. Every time a user logs in, check if the user is not in the table. If there is not, add it. If there is, send error to frontend.
When a the user logs out delete the user's document in the collection of logged in users.
I don't know if there is a more professional solution or an already built-in solution for satellizer, node.js or mongoose...