I am trying to use Windows Authentication in ASP.NET Core web application under IIS.
I do NOT want to write application code for it.
I want to do it only through web.config or IIS settings.
I already updated web.config with
forwardWindowsAuthToken=true
As described in https://stackoverflow.com/a/39858689/4869661
In addition, I want to add the authorization section to web.config with Allow\Deny rules, but it doesn't seem to work at all.
Note: it does not matter at which level I do it - even at the IIS Server web.config.
What am I missing?
Thanks!