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

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

Cu ccwww0 login logout doctor backend ap is 2 #34

Closed sjathin closed 3 years ago

sjathin commented 3 years ago
  1. Add doctor role as attr, as adding role give access denied to the channel.
  2. initRedis to add admins to redis.
  3. Login and logout for doctor and admin.
  4. Creates a session on login. And destroy on logout.
  5. Connect to network using session username.
kshitijyelpale commented 3 years ago

Task linked: CU-ccwww0 Login/Logout Doctor Backend APIs

sjathin commented 3 years ago
  1. Remove session and username to be passed in the header
  2. jwt uses a secret token instead of the user password
  3. Logout to be handled in frontend