This repository has been archived by the owner on Apr 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Integration with Active Directory
Michael Vidal edited this page Apr 21, 2017
·
3 revisions
One of the scenarios that we want to support is providing an Authentication service that can use Active Directory as a third party Identity Provider. IdentityServer4 provides this capability out of the box, provided you adhere to the following:
- Ensure the Quickstart/Account/AccountOptions.cs class has the WindowsAuthenticationEnabled property set to true
- Ensure the app is setup to use IIS Integration in the Main method, e.g.:
WebHostBuilder().UseIISIntegration()
- Deploy the service to a Windows machine with IIS installed that is domain joined to the domain you want to authenticate against
- Make sure that the virtual directory in IIS has both Windows and Anonymous authentication enabled