kshitijyelpale / blockchain-hyperledger-fabric-electronic-patient-records

GNU General Public License v3.0
49 stars 43 forks source link

CU-ccwwrh - Login/Logout Patient Backend APIs #35

Closed varshakamath1 closed 3 years ago

varshakamath1 commented 3 years ago

The username and password for patient in initledger function are the same as of now. username = PID1, password = PID1 username = PID2, password = PID2 so on..

I have also made entering password while creating patient mandatory.

Implementation of a password temporary flag will be done in a separate ticket.

kshitijyelpale commented 3 years ago

Task linked: CU-ccwwrh Login/Logout Patient Backend APIs

kshitijyelpale commented 3 years ago

Yes, as you said, when creating new patient and doctor, create a random password, store in ledger and redis respectively, and return in response of '/register' request. We will show the randomly created password on UI for now.

Future scope will be this randomly created password will be sent to user(patient and doctor) in email.

sjathin commented 3 years ago

Only during login the username and password will be in the body. For the other services in the header.