Supporting OpenID, part 2a: Setting up WPMU to accept OpenID logins

January 11th, 2008 by Dan York

As I noted in my last post about OpenID, the second and more difficult aspect of implementing OpenID is to enable this site to accept OpenID logins for comments. In the comments to that post, Jeff Waugh replied today indicating that he had ported WP-OpenID over to WordPress MU.

Naturally I headed over to Jeff’s post as soon as I saw it. Since I had already downloaded WP-OpenID, I just needed to reference his bug report for the instructions on how to patch the plugin. Well, that and I needed to download the diff file (Note: from the dev.wp-plugins.org page, the “attachment” link brings you to an HTML-ized version of the diff file. To get the “raw” version, you need to select the “Original format” link at the bottom of the page (or follow my link here).)

However, although I followed the directions at the bottom of the page, it sadly didn’t work. In some correspondence with Jeff, I think the issue may lie in the fact that we use our own custom theme – and we may need to tweak that to support the OpenID plugin. However, in doing this, as you can see in the comments to his blog post, I ran into some other issues which seemed to expose problems with the existing WP-OpenID plugin. Basically, the WP-OpenID plugin upon which his work is based seemed to only accept OpenID URLs from direct OpenID providers (ex. claimid.com). When I entered my LiveJournal OpenID URL, that didn’t work because it actually redirects to another URL. Similarly, using “blogs.voxeo.com” as my OpenID URL didn’t work either, nor a number of other ones.

Not realizing that he was in Australia and it was approaching 4am, I wound up in a good chat session with Jeff trying to debug the issue. Eventually he needed to get some sleep and so we parked it for another time. So we move closer… I think I’ll wait a bit until Jeff gets a chance to dig a bit more into the OpenID cases that were failing. Once he’s got it thoroughly working, I’ll take a look at how to make it work with our theme. Interesting stuff (to me, anyway).

Technorati Tags: , , , , ,


Related posts:

  1. Supporting OpenID, part 1: Enabling the WPMU site to be used as an OpenID provider
  2. Successful upgrade to WPMU 1.5.1 – with some lessons learned
  3. Problems uploading large files in WordPress – the *second* php.ini setting

Tags: ,


If you found this post interesting or helpful, please consider either subscribing via RSS, becoming a fan on Facebook, or following us on Twitter.


5 Responses to “Supporting OpenID, part 2a: Setting up WPMU to accept OpenID logins”

  1. Ryan Says:

    Looking foward to another update on behind the blog. Perhaps you could explain how you got recent posts from across all blogs on the home page.

  2. Dan York Says:

    Ryan, Thanks for the comment and yes, that topic (recent posts from all blogs on the home page) is *definitely* in the queue to write about. Next up, though, will probably be a piece on the challenges of getting XML code into the blog… which has turned out to be quite a challenge!

    Thanks, Dan

  3. Ryan Says:

    I could definatley find that useful for my blogs as well. Thanks for sharing this stuff I’m sure there are others finding this useful as well.

  4. banka Says:

    thanks for sharing usefull information..

  5. Behind The Blog » Blog Archive » Successful upgrade to WPMU 1.5.1 - with some lessons learned Says:

    [...] in a few posts but for whatever reason I didn’t do it. Bad move. There was something about the OpenID plugins I was using that did not like the upgrade. It was somewhat bizarre in that the plugin to accept [...]

Leave a Reply

Please note: By submitting a comment you agree to comply with our Comment Policy. We welcome all comments, positive or negative, but do reserve the right to remove all or part of blog comments that do not comply with our policy.

Additionally, the first time you leave a comment on this blog, it will be held for moderation. After that first comment has been approved, future comments will be posted without delay.

Additional comments powered by BackType