Nice article from Damien.
This article shows how MFA could be forced on users to access sensitive pages within an ASP.NET Core Identity application. This could be useful for applications where different levels of access exist for the different identities. For example, users might be able to view the profile data using a password login, but an administrator would be required to use MFA to access the admin pages.
Blogs in this series
- Force ASP.NET Core OpenID Connect client to require MFA
- Send MFA signin requirement to OpenID Connect server using ASP.NET Core Identity and IdentityServer4
- Requiring MFA for Admin Pages in an ASP.NET Core Identity application
Extending the Login with a MFA claim
The application is setup using ASP.NET Core with Identity and Razor Pages. In this demo, the SQL Server was replaced with SQLite, and the nuget packages were updated. The AddIdentity method is used instead of AddDefaultIdentity one, so…
View original post 344 more words