Search Results :

×

Magento LDAP / AD (Active Directory) Login Integration – Login using LDAP / AD Credentials


The Magento LDAP / Active Directory Login Integration extension allows your LDAP / Window Active Directory users to login to Magento using their LDAP / Active Directory (AD) credentials. We provide a Magento LDAP / Active Directory Login Integration extension compatible with latest Magento 2.4.x version.

The user’s LDAP Authentication can be performed on various LDAP servers like Microsoft Active Directory, OpenLDAP, Azure AD, JumpCloud, OpenDS, FreeIPA, Synology, and other Directory systems. Here we will go through the steps required to configure the LDAP Integration on your Magento site. By the end of this guide your users can login to Magento using their LDAP server credentials.

Steps to configure Magento LDAP / Active Directory Login Integration extension.

  • Once you have installed the extension, navigate to Active Directory / LDAP Login LDAP Settings as shown in the below image.
  • Magento LDAP login - Click on Active Directory / LDAP Login - LDAP Settings
  • Enter your App Name and LDAP /Active Directory server URL or IP address.
  • Magento Active Directory / LDAP server connection
  • Enter the service account username (Bind Account DN) and password (Bind Account Password) and click on the Save & Test Connection button.
  • Magento Active Directory / LDAP binding
  • Select the appropriate search base from the Search Base(s) dropdown. Users located within this search base will be able to log in to your Magento site using their LDAP credentials.
  • Select the username attribute from the Search Filter/Username Attribute dropdown. This is the LDAP attribute your LDAP users will use to log in to your Magento website.
  • Magento LDAP / AD search base and search filter
  • Navigate to Sign in Settings tab
  • Check the Enable Customer login with LDAP checkbox to enable LDAP Authentication on your site.
  •  Magento LDAP / AD Sign in Settings
  • Check the Auto Create Customer Users to automatically create your LDAP user's account in Magento upon LDAP authentication if they do not already exist in Magento.
  • Magento LDAP Login and Active Directory SSO Enable Login with LDAP
  • Check the Allow users to Login using both Magento and LDAP Credentials to allow your customers to login using either Magento or LDAP credentials in Magento.
  • Magento LDAP Login and Active Directory SSO Enable Login with LDAP
  • Check the Allow users to Login only using LDAP Credentials to allow your customers to login only their LDAP credentials in Magento.
  • Magento LDAP Login and Active Directory SSO Enable Login with LDAP
  • Click on Save button.

Test User LDAP Configuration:

  • Under the LDAP Settings tab scroll down to the Test Configuration section.
  • Enter your LDAP user’s username and password and click on the Test Configuration button. Remember, the username should match the LDAP attribute value you chose in the search filter dropdown.

    For example, if you selected 'uid' in the search filter, enter the 'uid' of your LDAP user as the username.

  • After successful authentication, you will get a list of all LDAP attribute values associated with your user.

How to login to Magento using LDAP credentials?

  • Open a private/incognito window and go to your Magento site login page.
  • Enter the user's LDAP credentials. Remember, the username should match the LDAP attribute value you chose from the search filter dropdown
  • Magento Login SSO

After successful LDAP authentication, you will be able to access your Magento site. If you face any error reach out to us at magentosupport@xecurify.com

Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com