skip to Main Content

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


  1. 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.

    Login or Signup to reply.
  2. 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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search