MFA\2FA website authentication

Eyal 0 Reputation points
2023-01-25T08:21:43.1+00:00

would like to setup MFA authentication for users accessing my site on the internet. is there a way to embedd in my web site a start up code
is there any solution ready for that perpse
the site is public , so meany clients can ping it so ...

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,133 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,240 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 54,711 Reputation points
    2023-01-26T17:03:07.58+00:00

    as coding a MFA service is very complex (you typically need Phone, SMS or mobile app support), you need to pick a provider. that provider will supply a sdk. Azure, Google, AWS all supply MFA providers, but there are other.

    Also many oauth providers (Azure, AWS, Google, etc) also implement MFA for you.

    0 comments No comments

  2. SurferOnWww 1,906 Reputation points
    2023-01-27T04:21:26.7133333+00:00

    The TOTP-based 2FA is included in the ASP.NET Core project created by using the Visual Studio 2022 template with the authentication for the individual account. See the following document:

    MFA TOTP (Time-based One-time Password Algorithm)

    https://learn.microsoft.com/en-us/aspnet/core/security/authentication/mfa?view=aspnetcore-6.0#mfa-totp-time-based-one-time-password-algorithm

    image

    0 comments No comments