Integrating wordpress with two other logins (3 posts)

  1. stopha
    Posted 4 years ago #

    Hi - I have an interesting issue, and I'm wondering if anyone out there might have some ideas for me.

    I've got a wordpress site setup (I'm building an Intranet with).

    I've got HESK integrated as well as http commander for a built-in helpdesk/kb and AD file share viewing capabilities.

    I'm using an active directory login pluggin to hook the site to AD authentication.

    What I'd like to do is figure out how to make it a single sign-on. If a user is authenticated on the site with their AD creds, shouldn't it be somewhat easy to pass that info to iframe for http commander so that they can view their file shares without having to login twice? and the HESK thing - that is a whole other user table in the database, so I have a bit of research to do on that.

    my ultimate goal is to have one sign on for wordpress, and be done.

    Any brilliant ideas?

  2. NateJacobs
    Posted 4 years ago #

    I have never used HESK or HTTP Commander before so the following is slightly educated guess work after looking at the product pages for both.

    The one line answer:
    You are going to need to roll your own authentication method.

    Best bet is to create your own plugin. You can hook into the authentication process of WordPress using add_filter( 'authenticate', FUNCTION NAME );

    It appears HTTP Commander uses a HTTP authentication process. They also have a WordPress plugin, not sure if you are using that or not. So essentially you would need to reverse engineer how their plugin handles authentication and then add that after the AD authentication happens.

    The same thing would be true of the HESK integration.

    I added a quick code and pseudo code example below.



  3. stopha
    Posted 4 years ago #

    Thanks, Nate! I will go through these and see what i can come up with.

Topic Closed

This topic has been closed to new replies.

About this Topic