SSO for Drupal and WordPress?

Events happening in the community are now at Drupal community events on www.drupal.org.
brant's picture

We have a client interested in keeping a WordPress site (possibly two) separate from their Drupal installation for the moment. However, they would like to be able to have single sign-on capabilities between the two. Drupal would be the "master" in this case. I've looked into this a bit, and there are certainly places to hook into or override WP's authentication methods, but I'm wondering if this is the way to go vs. using something like OpenID instead.

Anybody have experience with either (or something similar) and/or thoughts on pros and cons?

Thanks for your help!

-Brant

Comments

This is tricky. I'd probably

JuliaKM's picture

This is tricky. I'd probably go with some sort of open authentication method. Where I work, we have a Drupal and a Django site that we link up with a custom Drupal service. However, if I was doing it again, I would have tried to use LDAP, OpenID, or something similar instead.

I haven't used WP authentication modules extensively but it looks like there is some support for LDAP and OpenID. It also looks like there's also a good deal of effort behind the HTTP Authentication plugin in Drupal.
http://wordpress.org/extend/plugins/http-authentication/

Julia

Thanks for that, Julia --

brant's picture

Thanks for that, Julia -- hope you're doing well. I've looked a little at OpenID as a possible option, hoping that the provider module that's available for D6 might let me avoid having an entirely separate/disconnected repository the admins need to work with for managing credentials (possible I have some misconceptions somewhere in there, too). One downside is that's D6 and I'm looking to go w/ D7 if possible, which got me wondering about teaching WP to auth against Drupal. I'd be curious to learn about (in a general sense) the difficulties or downsides you ran into when taking that sort of approach with your Django site if you have the chance to share.

I appreciate your insights!

-Brant

Hi Brant, Our biggest issue

JuliaKM's picture

Hi Brant,

Our biggest issue has been needing to rewrite our custom service, which uses the services module, every time there's a services update. We're using an XML-RPC service now and have tried REST in the past but run into problems.

Julia

Brant, Were you able to

hockey2112's picture

Brant,

Were you able to identify a suitable solution to have a Master Drupal / Slave Wordpress integration?

triDUG

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week