WordPress Single-Sign-On Preview

I’m currently working on a more detailed article related to wordpress and single-sign-on. It is a nice topic and because of that I started to create some concept art now that should picture the whole thing.

That is a sample page to show what all this is about. A first preview (PDF) is available as well.

I’ve planned to publish a blog post, a PDF file illustrating the concept and sample code in form of wordpress plugin. Stay tuned.

This entry was posted in Pressed and tagged , , , , , , , , , . Bookmark the permalink.

10 Responses to WordPress Single-Sign-On Preview

  1. Pingback: Tweets that mention Wordpress Single-Sign-On Preview « hakre on wordpress -- Topsy.com

  2. Arno says:

    Hi Hakre, any progress on this? We are building a PHP website and want to integrate this with our WordPress cms/blog so users can comment on news without having to sign in to another entity.

  3. Ken says:

    It’d be great if you could post your solution here, but I’ll contact you as well.

  4. Darcy Brás da Silva says:

    Hi there, this is really great. I would like to know if you could help to do this to keep login between two or more independent wordpress’s.

    • hakre says:

      That approach is for a single blog. Technically it has already some code that can be extended to be used on a multi-blog setup and to share logins. But each blog should have the users in sync then.

  5. Anil Gupta says:

    Dear Hakre,

    I am currently looking for something quiet similar i.e. being able to login to wordpress site from my custom site. Can you let me know how this can be done?

    Many thanks,

    Anil

    • hakre says:

      Everytime when you create a user for your custom site, you need to create a same named user in parallel within wordpress.

      Then you can share accounts between the two sites.

      Tip: Create a set of tools that can ensure both sites accounts are in sync, and one for deletion and editing.

  6. Gokul A says:

    Hakre,
    I know the thread is old. But I am looking for somehting similar. I understand the part where you keep the user accounts shared between two sites, but how do you keep the session amongst the two sites?

    Any ideas on this.

    Thanks,
    Gokul A

    • hakre says:

      This is not about (PHP) session sharing, just the authentication against the user credentials. You can share sessions with a shared data-store (e.g. database) as well by writing your own PHP session session handler.

      WordPress however does not PHP sessions by default, it’s working on cookies. You could interact with those cookies as well, they are shared via the browser but won’t work cross-domain / path normally.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s