Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

How to enable two factor authentication for Xamarin #8143


User avatar
0
edarib created

Is there a way to enable two factor authentication in Xamarin. It seems to be there in the Mobile project but the SendTwoFactorCodeView Page never gets shown because AbpAuthenticateResultModel.RequiresTwoFactor Verification is false.

I tried to set AuthenticateResultModel.RequiresTwoFactorVerification to true in the AuthenticateSuceed function in AccountService.cs but that gave me an error.

Thanks, Madhu


2 Answer(s)
  • User Avatar
    0
    alper created
    Support Team

    hi you need to set two factor authentication on the server side. changing just model value will result in error.

    • https://docs.aspnetzero.com/en/aspnet-core-mvc/latest/Features-Mvc-Core-Two-Factor-Authentication
    • https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Features-Angular-Two-Factor-Authentication
  • User Avatar
    0
    ismcagdas created
    Support Team

    This issue is closed because it has not had recent activity for a long time.