Avoid multiple login by same user

What is good implementation strategy to avoid multiple login by same user in different devices? I’m using Firebase authentication at the moment.

1 Like

Maybe keeping a Database with current ID of the user logged and check it during the login ??? (carefull if they don’t close correctly the session they will not be able to login again. You must consider a time-out back-end function to free it with Firebase Functions)