Active Directory authentication

For on-prem installations it is possible to enable Active Directory authentication which makes it possible for users to sign in by entering their Active Directory username and password on the sign in page.

Configuration

The following settings are required for Weavy to use Active Directory authentication.

Web server

The Weavy website in IIS must be configured with the following settings:

Anonymous Authentication = Enabled
Forms Authentication = Disabled
Windows Authentication = Disabled

Web.config

The web.config file should have the following configuration:

<appSettings>
    <add key="weavy.active-directory-domain" value="..." />
    <add key="weavy.active-directory-username" value="..." />
    <add key="weavy.active-directory-password" value="..." />
</appSettings>
...
<system.web>
    <authentication mode="None" />
</system.web>

Set weavy.active-directory-domain to the domain or server to authenticate against. The weavy.active-directory-username and weavy.active-directory-password settings should contain the credentials for an active directory user that has read access to the Active Directory.