DEV Community

Vaibhav Parashar
Vaibhav Parashar

Posted on

How to do authorization and authentication for my project?

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)