• Resolved Luminus Alabi

    (@luminus)


    Automattic Happiness Engineer

    Hi.
    I’m trying to integrate WordPress with an existing intranet application that was built with PHP/MySQL.

    WP is setup in a subdirectory of the main application. I have a link on the main page pointing to the WP instance. I need to make WP use the existing User table in the intranet application for user authentication instead of using ‘wp_user’ so that I don’t have to duplicate the user management tasks.

    I also need to implement a single sign on solution such that once a user is logged in on the intranet, he is automatically logged into the WP instance.

    I’d really appreciate all the help I can get

Viewing 2 replies - 1 through 2 (of 2 total)
  • I don’t think you can bypass the WP authentication system without lots of work because WP uses a roles and capabilities model for its users. If WP is going to be considered as an important part of the intranet, it may be better to use its user table instead.

    If you’re good at database stuff you could create a script (whatever they call DTS packages on MySQL) that copied the user tables from one DB to the the WP db on a nightly or even more frequent schedule, or a trigger whenever there was a new account on the existing application.

    It would take some PHP skills to get auto-login to work with WordPress, oh and some sort of LDAP access (PHP has modules you can install for this).

    Or skip the PHP part and just make sure they have cookies turned on. So they’ll have to login redundantly only once and be logged in automatically when they return.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Integrating WordPress into an Intranet’ is closed to new replies.