issues
search
kshitijyelpale
/
blockchain-hyperledger-fabric-electronic-patient-records
GNU General Public License v3.0
48
stars
43
forks
source link
Cu ccwww0 login logout doctor backend ap is 2
#34
Closed
sjathin
closed
3 years ago
sjathin
commented
3 years ago
Add doctor role as attr, as adding role give access denied to the channel.
initRedis to add admins to redis.
Login and logout for doctor and admin.
Creates a session on login. And destroy on logout.
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
Remove session and username to be passed in the header
jwt uses a secret token instead of the user password
Logout to be handled in frontend