I’ve posted about this topic before but I’m still struggling to implement a solution. I’m trying to create a simple username and password login system that uses JWT authentication. I’ve looked for weeks at different tutorials and githubs to try and create a working solution but have had different problems including the ability to test the login on a database/server, outdated information and just being overwhelmed by the amount of things I don’t know.
I know the basic template of how to make a POST call to an api in order to login/register, I know I need an auth service etc. But I’m not sure how to incorporate JWT functionality without using something like Auth0, Passport or Firebase as every tutorial I’ve seen uses one of those. I just want a simple username and password login without social media logins as its for a more closed website.
Could someone help me develop such a system by maybe pointing me in the direction of how to get a test server/database for logging in and how to go about developing in login system itself including passing JWTs?