The MU forums have moved to

use an existing userbase (3 posts)

  1. corbosman
    Posted 16 years ago #

    Hi all, im trying to get the following to work. Let users create a new login by authenticating against an existing user backend and use that login. Ive got no problem coding the authentication, but im a little lost as to where best to implement this. The best would be if the users are always authenticated against an existing backend, but otherwise im also fine with creating a local user once the authentication is valid.

    People should not be able to create blogs unless they're logged in.

    Can his be done through plugins or do I need to change wp-signup.php?

    Thanks for any help,


  2. andrea_r
    Posted 16 years ago #

    Well, there's already an option in the backend to allow logged in users to create blogs and no one else.

    Might have to start with the getting them to authenticate first, then MU should handle everything else.

  3. mjhca
    Posted 16 years ago #

    Look at wp-includes/pluggable.php. All of the functions there can be overridden by a file placed in wp-content/mu-plugins.

    You can use the existing function as your base and then modify as necessary to authenticate against your back end.

    Depending on your desired setup, the wp_authenticate function may be a good starting point.

About this Topic