I am looking for a framework / demo of how to integrate ASP.NET and Angular into a SPA. The current hurdle I’m trying to jump is how to implement Windows Authentication and AD Authorization.
I currently have Windows Authentication and AD Authorization working in my ASP.NET Web App (not core). It seems there are a lot of examples of how ASP.NET Core and Angular 2 work together beautifully to create SPAs, but when I was previously considering using ASP.NET Core, I could not find a good solution to Windows Authentication and Windows AD Authorization. This is an intranet webapp.
In my current working solution I’m using DirectoryEntry and DirectorySearcher to grab the user’s domain, and then searching the appropriate AD server to see if the user is in the permission group (param).
I would love an alternative that is more sleak and allows for the standard ASP.NET authorization:
Authorize(Role="Admin")
public ActionResult Do() { }
Is Auth0 the solution I’ve been looking for? Any examples or demos in particular would be fantastic.