Search Results :


User Redirection After Login and Logout

User Redirection after LDAP Authentication

LDAP (Lightweight Directory Access Protocol) authentication is a widely used method for validating user credentials in various applications and systems. After successful LDAP authentication, it's often necessary to redirect users to specific pages or applications based on their roles or permissions. In this guide, we will explore the process of user redirection after LDAP authentication, offering step-by-step instructions and best practices.


Setup User Redirect URL for Login and Logout:

  • After successfully configuring the module head towards the Advanced Settings tab (admin/config/people/ldap_auth/settings) of the module.
  • Drupal LDAP/Active Directory - Navigate to Advanced Setting tab
  • Enter the URL on which you want to redirect your user after successful LDAP authentication under the “Redirect URL After login” text field.
  • Enter the URL on which you want to redirect the user after logout,
  • Save the configuration.

Test the User Redirection:

Let's see how this feature works. Follow the below steps to test the user redirection.

  • Open a private browsing window (like incognito mode).
  • Try to log in to the Drupal website using the user's LDAP credentials.
  • You will be redirected to the saved URL after successful LDAP authentication.

Congratulations, you have successfully configured the user redirection after LDAP authentication.

We hope that you find this guide useful and easy to configure.


If you want a 7-day fully-featured trial or have any questions or in case you need any sort of assistance in setting up the module according to your use case, please feel free to drop us an email at

Hello there!

Need Help? We are right here!

Contact miniOrange Support

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to