Dawid Rutkowski
Dawid Rutkowski

Reputation: 2756

Authentication thought Azure AD in application hosted on IIS

Is there possibility to authenticate users through Azure Active Directory when my application written in ASP.NET 5 and MVC 6 is hosted on IIS (not on Azure)? Use case is to have users stored in Azure AD and while login to my application I would checks users in Azure AD. I was thinking about custom ApplicationUserStore which would connect Azure AD.

Upvotes: 2

Views: 1174

Answers (1)

juvchan
juvchan

Reputation: 6245

Yes, it is definitely possible to authenticate users through Azure Active Directory (AAD) for ASP.NET 5 and MVC 6 application.

You could use the Azure Active Directory Authentication Library nuget published by Microsoft to manage the AAD authentication in your application.

Note: The current stable release of the above nuget does not support ASP.NET 5.

You will need to use the newer pre-release version for ASP.NET 5 support.

Reference: Active Directory Authentication Library NuGet page

Hope this helps!

Upvotes: 2

Related Questions