You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
VerifyMFArpc methods for bothmfa_type=1(TOTP-based auth) andmfa_type=2(OTP based auth).EnableMFArpc that were stored in psql asmfa_secretsfor verifying themfa_type=1typa auth and compare the OTP with redis stored hashed OTP to verify themfa_type=2auth.VerifyMFAauth successes, store themfa_typeto the users table.