WordPress.org

Ready to get started?Download WordPress

Forums

Single Sign-on between AD and WP (10 posts)

  1. pixelerium
    Member
    Posted 3 years ago #

    Hello,

    I've been using wordpress for a couple years but have never been asked to implement a single sign-on between Active Directory users and WordPress in an intranet and need help or direction.

    So here's what I've been asked to achieve....rather than having users manually login to their new wordpress intranet site with their AD credentials after already login into Windows succesfully, they would like the website to recognize they've successfully logged in via AD and therefore authenticate them into the website automatically. This way users won't have to login twice with the same credentials.

    Our environment is listed below:

    1. User credentials are in a Windows Server 2003 Active Directory
    2. Instranet site resides on an Ubuntu Server from the same network

    I am currently using Simple LDAP Login plugin to have users login with their AD credentials and it's working fine but they'd rather have the website automatically detect the user already logged in.

    I've also done a lot of research online regarding this subject but they're so many ways to do it that I'm not sure which way to go. I'd appreciate any help or direction, please.

    Thank you!

  2. kollberger
    Member
    Posted 2 years ago #

    Hello, Did you find an answer to your question? I'm looking for the same solution for the intranet at my company.

  3. stimsonm
    Member
    Posted 2 years ago #

    I also need this exact thing, could you tell me what you did?

    Thanks

  4. stimsonm
    Member
    Posted 2 years ago #

    I also need this exact thing, could you tell me what you did?

    Thanks

  5. pixelerium
    Member
    Posted 2 years ago #

    Hey guys. Sorry for the late response. Unfortunately I did not find an answer. The organization decided to keep a seperate password so I stopped searching.

    However, while I was searching I found a plug-in that allowed WP users to signin using their AD credentials, but did not work as a single sign-on tho. If you'd be interested let me know and I'll give you the name of the plug-in.

  6. woleium
    Member
    Posted 2 years ago #

    Hi pixelerium.

    I'd be really interested in finding a solution. Which plugin did you use?

  7. mwortman
    Member
    Posted 2 years ago #

    I've been looking for the same. Some real complicated solutions are avaialble, but no such thing as a simple plugin.

    I assume it's quite significant what server WP is running on. Mine is internally running on Windows Server 2008 (SP2). I actually think it might even be possible to take of it on the server, but hell do I know.

  8. johlin
    Member
    Posted 2 years ago #

    This did it for me...

    http://css.dzone.com/news/wordpress-auto-sign-iis7-and

    Hope it helps...

  9. Andrey
    Member
    Posted 2 years ago #

    Thank you, Johlin! That's good idea to use autologin except of manual, I'd like to test it, but will your code work wis IIS-6 ?

  10. mwortman
    Member
    Posted 2 years ago #

    Am-a-zing! It does work! What I did:

    0. enable windows authentication on IIS7 (don't know about 6)
    1. download the plugin code from the link above
    2. create a folder in your plugins folder in your wordpress installation
    3. paste the plugin in that folder
    4. now login to your wordpress and activate the plugin

    That's it!!

    I'm assuming WP Super Cache needs to switched off to make this happen immediately (or empty cache). Also assuming that Active Directory Plugin(s) can be removed, since no-one needs to physically login anymore. I'll test these assumptions some more. And it only works in IE (8+9 tested, you can't log out anymore! :-)), not in Chrome.

Topic Closed

This topic has been closed to new replies.

About this Topic