Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 1.57 KB

File metadata and controls

20 lines (15 loc) · 1.57 KB
title Multi Factor Authentication
description Overview of multi-factor authentication (MFA) implementation options in IdentityServer, including using ASP.NET Core capabilities in the hosting application or relying on upstream providers in federation scenarios.
sidebar
order
50
redirect_from
/identityserver/v5/ui/login/mfa/
/identityserver/v6/ui/login/mfa/
/identityserver/v7/ui/login/mfa/

Duende IdentityServer itself doesn't implement multi-factor authentication (MFA). MFA is part of the login process in the user interface which is the responsibility of the hosting application. Microsoft provides some general guidelines on how to enable MFA in ASP.NET Core.

MFA Hosted In IdentityServer

An IdentityServer implementation can include MFA in its login page using anything that works with ASP.NET Core. One approach is to use ASP.NET Identity's MFA support.

MFA And External Authentication

When using IdentityServer as a federation gateway, interactive users authenticate at the upstream provider. Typically, the upstream provider will perform the entire user authentication process, including any MFA required. There's no special configuration or implementation needed in IdentityServer in this case, as the upstream provider handles everything.