Support » Plugin: Login With Ajax » Compatibility with Next Active Directory Plugin – Local Auth only

  • moff


    I am running Login With Ajax with another plugin called Next Active Directory Integration Plugin. The default wordpress wp-login.php page authenticates fine with NADI but when using the Login with Ajax plugin, only the local wp_users table seems to be checked.
    I’ve modified widget_out.php to make the form more similar to the default login form and it submits and authenticates with LDAP fine. I wondered if anyone can tell me how the login mechanism of Login With Ajax differs from the native default wp_signon() function?
    I hope to find a small modification I can make to LWA to make the authentication more consistent with wp_signon() to allow both plugins to work as they were intended.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support caimin_nwl


    You can find the way wp_signon is used by Login With Ajax within this file:



    Thanks @caimin_nwl, I had found the wp_signon code in the login-with-ajax.php, but it looks like it authenticates just like the native WordPress login form. I cant find any differences with the login method used in Login With Ajax to account for why it fails to authenticate against Active Directory, while the WordPress default form does it just fine.

    I expect the Active Directory plugin I am using is intercepting the login form submission to then authenticate against Active Directory, so the only reason I can think of why Login With Ajax doesn’t work, is a difference in form submission.

    Maybe it’s just the nature of Ajax form submission that preventing the other plugin from intercepting the form?

    Plugin Support caimin_nwl


    Yes, that could be it. To be honest, I’m not sure. Might be worth running your idea by the devs at Active Directory, they may well have seen this issue before.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Compatibility with Next Active Directory Plugin – Local Auth only’ is closed to new replies.