The MU forums have moved to WordPress.org

CoSign SSO integration / subverting login process (3 posts)

  1. liamr
    Member
    Posted 18 years ago #

    We're evaluting Wordpress MU at UMICH and need to integrate it with our SSO, CoSign

    Looking at the "CASsification" thread and the LDAP Authorization Plugin, they both seem to modify wp-content/mu-plugins/pluggable.php

    Is there a way to hook into the login process w/o modifying the wordpress source code?

    Like basic auth, cosign assigns the user name to $_SERVER['REMOTE_USER']. In it's most basic incarnation, this plugin would need to...

    • try to log user in using username = REMOTE_USER
    • if an account doesn't exist, offer them the signup screen (but only offer about blog creation / "just an account please"). The other stuff (username, email address) would already be filled out and not changable

    This is my first wordpress plugin.. and it's wordpress MU (does that change things a lot?).

    Any pointers?
    Liam

  2. nexia
    Member
    Posted 18 years ago #

    if you think it is possible to ADD a hook to the login process and make it so your plugin would work properly, you can make a request to Donncha so he can add a hook to the next release, and then you would not have to edit the script anymore.

    any kind of hook can be added to any script of the WPMU, you just have to ask...

  3. liamr
    Member
    Posted 18 years ago #

    So, right now I would need to edit wp-content/mu-plugins/pluggable.php?

About this Topic