Supporting OpenID, part 2a: Setting up WPMU to accept OpenID logins
January 11th, 2008 by Dan YorkAs 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:
identity, openid, wordpress, wordpress mu, wpmu, wp-openid
RSS Feed
February 10th, 2008 at 11:26 pm
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.
February 11th, 2008 at 6:15 am
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
February 16th, 2008 at 2:27 pm
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.
May 6th, 2008 at 3:34 pm
thanks for sharing usefull information..
June 11th, 2008 at 9:26 pm
[...] 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 [...]