Port AspNetWindowsAuth to .NET Core

Any chance you can port the AspNetWindowsAuth provider to .NET Core? I know I can configure Kestral to use Windows Authentication via a IIS reverse proxy, so accessing the required HttpContext.User object should be doable via the IHttpContextAccessor singleton (assuming I’ve registered it). Are there any other showstoppers preventing that auth module from getting ported over?

It’s very unlikely it can be ported, the internal Request objects are incompatible so it will likely need a rewrite for a .NET Core Version. You can post a feature request on UserVoice to measure demand.

Submitted a feature request, and tried to take a stab at it myself (it mostly works on my iisexpress instance, but I’m sure I’ve missed something important).

If you’re curious: