Skip to content

[FEAT]: implement VerifyMFA rpc methods #52

Description

@ayush00git
  • Implement VerifyMFA rpc methods for both mfa_type=1 (TOTP-based auth) and mfa_type=2 (OTP based auth).
  • Need to use metadata from EnableMFA rpc that were stored in psql as mfa_secrets for verifying the mfa_type=1 typa auth and compare the OTP with redis stored hashed OTP to verify the mfa_type=2 auth.
  • As the VerifyMFA auth successes, store the mfa_type to the users table.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions