This repository was archived by the owner on Jun 20, 2019. It is now read-only.
This repository was archived by the owner on Jun 20, 2019. It is now read-only.
Indicate if Windows Auth is enabled in IIS #82
Closed
Description
UseIISIntegration integrates with the Authentication components to handle Authenticate and Challenge. However, right now it can't tell if Windows Auth is enabled in IIS, so it has to assume it is and issue the challenge blindly. This causes odd behavioral differences between IIS and SelfHost.
It would be cleaner if ANCM indicated to the app at startup if Windows Auth was enabled, possibly via environment variable. E.g ASPNETCORE_IISWINDOWSAUTH=Enabled/Disabled/... (or give the individual type names?) Then UseIISIntegration could turn on or off those components.
/cc: @HaoK
Metadata
Metadata
Assignees
Labels
No labels