I am designing a website for my company that will have a user log in page that will lead to a customized dashboard. I am currently, using PostgreSQL to store information in the back end of this website. Would I store the hashed password for each user in the database or in some JSON?
Please note that I am planning on using the hashed password to generate some login credentials to be used in a downstream process.
2
Answers
Usually you save the hashed password in the database.
So you have a user table and there you save all the informations like username, password etc.
The best would be to store hashed password in db. This article might help you to understand the basics of how the auth process might be implemented. It is about
fastapi
but still you might find it useful.