Connect Your App using LDAP

Auth0 integrates with Lightweight Directory Access Protocol (LDAP) through an Active Directory/LDAP Connector that you install on your network.

The AD/LDAP Connector (1), is a bridge between LDAP (2) and the Auth0 Service (3). This bridge is necessary because LDAP is typically restricted to your internal network, and Auth0 is a cloud service running in a completely different context.

Overview Diagram of AD/LDAP Connector

For high availability and load balancing, you can install multiple instances of the connector. All connections are outbound from the connector to the Auth0 Server, so changes to your firewall are generally unnecessary.


Before beginning:


To connect your application using LDAP, you must:

  1. Create an enterprise connection in Auth0 and download the installer.
  2. Install the connector on your network.
  3. Enable the enterprise connection for your Auth0 Application.
  4. Test the connection.

Create an enterprise connection in Auth0

  1. Navigate to the Connections > Enterprise page in the Auth0 Dashboard, and click the + next to Active Directory / LDAP.

Create Connection Type

  1. Enter general information for your connection:
Field Description
Connection name Logical identifier for your connection; it must be unique for your tenant. Once set, this name can't be changed.
Display name (optional) Text used to customize the login button for Universal Login. When set, the Universal Login login button reads: "Continue with {Display name}".
Logo URL (optional) URL of image used to customize the login button for Universal Login. When set, the Universal Login login button displays the image as a 20px by 20px square.
Email Domains (optional) Comma-separated list of valid email domains that will be allowed to log in using this connection. Only needed if using the Lock login widget.

Configure General AD/LDAP Settings

  1. Configure advanced settings for your connection, and click Create:
Field Description
Disable cache When enabled, disables caching.
Use client SSL certificate authentication When enabled, uses client SSL certificate authentication.
Use Windows Integrated Auth (Kerberos) When enabled, you will be asked to enter a range of IP addresses. When users log in through these IP addresses, Kerberos will be used; otherwise, AD/LDAP username/password will be requested. Typically, the IP range entered represent intranet addresses.
Sync user profile attributes at each login When enabled, Auth0 automatically syncs user profile data with each user login, thereby ensuring that changes made in the connection source are automatically updated in Auth0.

Configure Advanced Settings

  1. Download the provided installer and make note of the provided Provisioning Ticket URL.

We ship different versions of the connector to install on Windows or Linux platforms.

Install the connector on your network

Set up the AD/LDAP Connector by following the instructions for your platform:

Enable the enterprise connection for your Auth0 application

To use your new LDAP connection, you must first enable the connection for your Auth0 Applications.

Test the connection

Now you're ready to test your connection.