Support » Plugin: Next Active Directory Integration » Problem with redirect from wp-login.php after successful login

  • Hi,

    I think there is a bug in the latest plugin version (v2.2.3).
    The user enters the login form (wp-login.php).
    After successful login (user data from Active Directory), the login form (wp-login.php) is left – there is no redirection to the home page or another page.
    I found a function responsible for this – “loginUser ()” – “wp-content / plugins / next-active-directory-integration / classes / Adi / Authentication / SingleSignOn / Service.php”

    I did a quick fix on the last $redirectTo variable

    if ($ redirectTo === '/wp-login.php') {
    $ redirectTo = home_url ('/');
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author schakko


    Can you confirm that this happened with the latest version? The behaviour of the login process did not change. Maybe some other plug-in (m/b WooCommerce?) could have caused this.

    Thread Starter inspirelabs


    I confirm this is happening in the latest version v2.2.3.
    Previously, I used version v2.1.0 and there the file
    “classes / Adi / Authentication / SingleSignOn / Service.php” looks different.



    We are seeing this same issue

    Plugin Author schakko


    Hey guys, I’ve checked the behavior and I am unable to reproduce the issue. If you have a support plan, you can send a support ticket so we can move forward to check your production system.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.