• Resolved Vladimir

    (@ittchmh)


    Hello,
    Using WordPress on IIS
    I’m new to WordPress

    SSO works fine

    How to configure this feature on Security tab?

    Enables login using a custom login page	 
    Enabling this option allows users to authenticate against the Active Directory using custom login page.
    

    I tried to create virtual directory “/login/” pointing to WordPress root
    With
    Anonymous Disabled
    Windows Authentication Enabled
    this not working, HTTP Error 500

    If virtual directory “/login/” pointing to /wp-admin/ it always redirect to WP login form
    I get in logs:

    
    2020-02-15 10:22:57 [DEBUG] NextADInt_Adi_Authentication_SingleSignOn_Service::findUsername [line 279] SSO provided username for environment variable "REMOTE_USER" is "DOMAIN\\user'
    2020-02-15 10:22:57 [ERROR] NextADInt_Adi_Authentication_SingleSignOn_Service::authenticate [line 147] User could not be authenticated using SSO. User has already failed to authenticate. Stop retrying.
    

    Maybe it will be an option for SSO authentication via virtual directory pointing to:
    wp-content\plugins\next-active-directory-integration\sso\
    And where will be some function that will do SSO Authentication and redirect to / home page

    Maybe I’m doing wrong. How to use this feature custom login page

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author schakko

    (@schakko)

    Plug-ins like BuddyPress or Ultimate Member are registering the URL “/login” to do authentication. With the described feature, NADI also hooks into the authentication process, if a WordPress plug-in like BuddyPress or UM is used.

    I am not really sure what you are trying to achieve as you say that SSO already works fine…

    Thread Starter Vladimir

    (@ittchmh)

    I’m trying achieve SSO authentication from local network and allow public access to website.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to configure custom login page’ is closed to new replies.