[wp-hackers] Single sign-on SSL domain
glenn at glennansley.com
Thu Jul 23 13:53:57 UTC 2009
If this problem was tasked to me, I would probably explore using the
CUSTOM_USER_TABLE and CUSTOM_USER_META_TABLE constants  along with
the SET_COOKIE_DOMAIN constant .
If all your installs have access to the same MySQL server, the user
tables won't be a problem. The COOKIES shouldn't be a problem either.
A user is deemed logged in or not logged in based on COOKIES. You
would just have to make sure that a) Your authentications blog set the
COOKIE correct, b) that your other blogs looked for the correct COOKIE
to determine whether or not the user was logged in and c) all your
salts were set the same across all blogs .
FullThrottle recently did something very similar for a client and
documented it on our blog . We weren't using SSL to login... but
that shouldn't matter since you will only be handling logins from one
Bonus points: On all your actual blogs, redirect any requests for the
login page to your SSL login along with a referral query. Then send
them back after they're logged in via the SSL blog.
I'm sure there's some hurdles to jump there as I've never done this
exact thing, but that's how I would proceed.
Owner / Developer | FullThrottle Development, LLC
On Thu, Jul 23, 2009 at 5:19 AM, Eric Marden<wp at xentek.net> wrote:
> Check out startssl.com for cheaper certs (including standard ones for free).
> You'll need to jump through a few hoops, and know how to use Client
> certficate to authenticate to the site. Its easy once you do it once.
> In addition if you have the ability to configure your server(s) more
> directly, you may also be able to set up a reverse proxy to handle your SSL
> across your sites:
> - Eric Marden
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers