@tsukhwani said in Unable to get successful EnableTwoFactor using dotnet client:
@dan said in Unable to get successful EnableTwoFactor using dotnet client :
RFC 6238. H
@dan word wipe I am not able delete two-factor for user.
Please help.Below are the steps I am following using fusion auth client 1.43.0
- Generate otp using SendTwoFactorCodeForEnableDisableAsync method of fusion auth client. Note: using only email based otp method.
{
"methodId": "XXXX",
"userId": "00000000-0000-0000-0000-00000000XXXX"
}
- Then with the above review code, I am trying to delete two factor for user using DisableTwoFactorAsync, I am getting 421 which means code is not valid. I am not sure what is going wrong. PLEASE HELP ITS URGENT.
Thanks for all the help.