Force ASP.NET Core OpenID Connect client to require MFA

added by DotNetKicks
12/16/2019 6:29:25 AM

217 Views

This article shows how an ASP.NET Core Razor Page application which uses OpenID Connect to sign in, can require that users have authenticated using MFA (multi factor authentication). Code: https://github.com/damienbod/AspNetCoreHybridFlowWithApi To validate the MFA requirement, an IAuthorizationRequirement requirement is created. This will be added to the pages using a policy which require MFA.


0 comments