Serendipity2-0 / TradeManV1

0 stars 0 forks source link

Create the basic flow of the auth #50

Open Serendipity2-0 opened 1 month ago

Serendipity2-0 commented 1 month ago

Create the basic flow of the auth

  1. install dependencies
  2. check how to store the hash passwords in db.
  3. create the api to return the access token when the user logs in
Serendipity2-0 commented 1 month ago

@srijan-11 : I have reference fast api code implemented in an opensource project. Check if this helps: https://github.com/LAION-AI/Open-Assistant/blob/main/backend/oasst_backend/api/deps.py

Serendipity2-0 commented 1 month ago

For authorization: https://fastapi.tiangolo.com/tutorial/security/

amolkittur commented 21 hours ago

Reassigned the task to @satyarth12 for the login auth flow