Reputation: 2337
I have created an ASP.Net web app and hosted it on MS Azure where users sign in and are able to log into the system. I am not using Azure AD or on-premise AD but using Azure SQL database. Users are registering on the web app as normal users. I would like to know if there is a way to integrate Azure Multi Factor Authentication with my custom written app.
Any clarifications required, please ask.
Upvotes: 0
Views: 3592
Reputation: 15042
From your question it sounds like you're using some kind of ASP.NET identity feature which uses a SQL database as the backend. If so, then you might want to take a look at this article:
http://www.hanselman.com/blog/AddingTwoFactorAuthenticationToAnASPNETApplication.aspx
It shows in detail how to configure multi-factor authentication for an ASP.NET application using ASP.NET Identity 2.0. It should work regardless of whether you're hosting on premise or in Azure.
If you're asking how to integrate Azure AD Multi-Factor Authentication into your existing ASP.NET identity subsystem, then I fear that may not be possible unless you take a dependency on Azure AD as your identity subsystem.
Upvotes: 3