I wanted two types of users logging in (User, Client). How exactly can I create localStrategies, serialize and deserialize user for both types in my app.js I have two separa
You can make role in mongoose schema and give it to user or client. Based on the role you can do the authentication