Configuration for config.js (required)

Cofiguration for ad-config.js (required for Active Directory Authentication)

Options for the Active Directory configuration file

 

 

Example that use the searchFilter to allow authentication base on sAMAccountName:

 searchFilter: '(&(sAMAccountName={{username}})(memberOf=CN=OSIV-Ivdat,OU=OSIV,DC=de,DC=ivnet,DC=ch))',

 

Example that uses the searchFilter to allow authentication based on userPricipalName:

 

searchFilter: '(&(userPrincipalName={{username}})(memberOf=CN=OSIV-Ivdat,OU=OSIV,DC=de,DC=ivnet,DC=ch))',

 

Example that uses the searchFilter to allow authentication based on userPricipalName or sAMAccountName:

 

searchFilter: '(&(|(userPrincipalName={{username}})(sAMAccountName={{username}}))(memberOf=CN=OSIV-Ivdat,OU=OSIV,DC=de,DC=ivnet,DC=ch))',

 

More LDAP Query Examples for AD here