I have implemented registration,login and logout functionality using JWT in my MERN project, but the problem is whoever logging is acccessing the same database. Every user should have access to his/her database only. How can I do that?
I have implemented registration,login and logout functionality using JWT in my MERN project, but the problem is whoever logging is acccessing the same database. Every user should have access to his/her database only. How can I do that?
Top comments (0)