ohcnetwork / care

Care is a Digital Public Good enabling TeleICU & Decentralised Administration of Healthcare Capacity across States.
https://careapi.ohc.network/swagger
MIT License
255 stars 302 forks source link

Add Backend Support for Two-Factor Authentication (2FA) #2614

Open camillegonzales opened 6 days ago

camillegonzales commented 6 days ago

Is your feature request related to a problem? Please describe. The CARE project currently lacks backend support for Two-Factor Authentication (2FA). Frontend work (Issue #6715) is in progress, but backend enhancements are essential for generating, verifying, and securely storing Time-Based One-Time Password (TOTP) tokens. Without backend support, 2FA cannot function, leaving accounts vulnerable to unauthorized access.

Describe the solution you'd like Add backend functionality to complement frontend implementation:

Describe alternatives you've considered

Additional context The frontend issue mentions integrating a library compatible with TOTP, such as pyotp.

shobhit8797 commented 4 days ago

@camillegonzales or maintainers, I would like to work on this issue. Please assign me this issue

yash-learner commented 4 days ago

@camillegonzales Thanks for creating the backend issue.

@shobhit8797 I had started working on MFA and created a Proposal and waiting for review.