Support » Plugins » multiwp single signon

  • anyone know how to do single signon across multiple wordpress blogs within the same domain for 2.6?

Viewing 10 replies - 1 through 10 (of 10 total)
  • @mercime

    (@mercime)

    Volunteer Moderator

    1. WP Hive Plugin – http://wp-hive.com/overview/
    2. WordPress MultiUser platform – http://mu.wordpress.org/
    3. WordPress Codex which includes the two above and other alternatives
    http://codex.wordpress.org/Installing_Multiple_Blogs

    already checked those solutions out, the issue im having is cookie related.

    i already have one database of users integrated.. just need to fix cookie issuing across domain.

    Check this thread, especially the posts by Otto42,

    http://wordpress.org/support/topic/206509?replies=17

    He tells a way to use 1 DB user table for multiple sites. He also says somethin’ about cookies in there.

    indeed that topic was started by me, i already searched through the whole wordpress forums just seeing if anyone has new ideas.

    to better explain.

    I already have single users integrated across multiple blog meaning they all share one login/password for all userss. they are already using same database. now the problem im having is cookies..

    2nd blog and third blog needs to accept cookies from first blog to assign single logon.. im even willing to pay someone to do this:P

    I think the problem is in the salt used to authorize cookies. See wp_salt() in pluggable.php. The salt is stored as a wordpress option, which means it depends on your wordpress installation, and even if you have shared user tables, the salt used will be different.

    Looking at the code, there seem to be three ways to circumvent this:

    1. Define AUTH_SALT and LOGGED_IN_SALT in your wp-config.php for each installation using the same values for each (if you have a shared wp-config.php, this is simple).
    2. Use the ‘salt’ filter to alter the output of wp_salt() so it is the same for each installation.
    3. Write your own wp_salt(). It’s pluggable.

    The first option is definitely easiest, although it means having more keys and stuff in the same place.

    I’ll try this out when I get a chance.

    Update: defining AUTH_SALT and LOGGED_IN_SALT in `wp-config.php’ as suggested in my previous post works for me. You also have to have code that defines COOKIE_HASH in the same way for all blogs; the default is a hash of the siteurl.

    seocoalition

    (@seocoalition)

    Update: defining AUTH_SALT and LOGGED_IN_SALT in `wp-config.php’ as suggested in my previous post works for me. You also have to have code that defines COOKIE_HASH in the same way for all blogs; the default is a hash of the siteurl.

    Could it be possible to write a tutorial real quick?

    I am using several different subdomains but one database and for usability purposes being able to login in one blog and be able to carry over to others can really be useful.

    Any help would be greatly appreciated.

    TIA

    vurea

    (@vurea)

    wow thx for the reply! im gonan try this real quick!

    taffeljohan

    (@taffeljohan)

    I’ve written about this in a bit more detail here:

    http://engine.taffel.se/2008/11/18/multiblog-single-login-in-wp-26/

    vurea

    (@vurea)

    thx alot taffeljohan!

    now i gotta figure out how to integrate comments from multi blog ><

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘multiwp single signon’ is closed to new replies.