OpenID Enabling a WordPress Blog

With the help of a plugin and a few minutes of your time, it is very easy to setup your WordPress blog to be an OpenID consumer. There are tons of OpenID providers helping folks get setup — let’s give those folks places to use ‘em.

I assume you already have an OpenID — if not, go get one! While you don’t need one,with one you’ll be able to follow along in the admin section below.

OpenID Logo

But first, what is OpenID? OpenID.net describes it as:

OpenID eliminates the need for multiple usernames across different websites, simplifying your online experience.

You get to choose the OpenID Provider that best meets your needs and most importantly that you trust. At the same time, your OpenID can stay with you, no matter which Provider you move to. And best of all, the OpenID technology is not proprietary and is completely free.

[read it all]

Done right, it can save you a heckuva lot of typing of usernames and identifying information — and having to remember them for various sites and applications.

The Plugin Setup

The plugin that I am using is called (cleverly enough) WP-OpenID and is very straight-forward to setup and use. Grab it, upload it and activate it to get rolling (see Managing Plugins in the WordPress Codex if you need help).

Small note: I had issues with it at first. Upgrading my hosting to PHP 5.x straightened everything out though. Something to watch for if you’re still on PHP 4.

After activating, visit Options -> WP-OpenID. There are only two options here.

  • Automatic Approval – Want to automatically approve any comment left by someone using OpenID? Check this box. Probably safe until the spammers twig to it… I’m leaving it unchecked as I don’t trust the spammers to remain ignorant.
  • Comment Form – Automagically update your blog’s comment form to use the URL field for OpenID. Thus, your commenter need only enter the one field instead of name/email/URL. I have this one enabled. Down the road I may get fancier with how I present the form, but this suffices for the moment.

And with that, you’re ready to accept comments from OpenID authenticated readers.

Admin Enabling

But wait, what about you, the admin of your blog? Well, as admins we now have the ability to use our OpenID to log into our blog. Is this a good thing? I believe so. I’m using VeriSign PIP (personal identity provider) as my OpenID provider and they give me two-factor authentication:

To me, this feels much more secure than my existing WP admin password. If your OpenID provider is single-factor, do yourself a favor and concentrate on ensuring you have a strong password!

The WP-OpenID plugin changes the logon screen a bit:

openID-admin

However, we have to associate our WP identity to our OpenID identity before we can use that new login option.

While logged into your blog, visit Users -> Your Identity URLs. Just add your OpenID URL(s) to it by following the prompts.

Next, we probably want to beef up our default WP password since we don’t have type it so often anymore. Visit Users -> Your Profile and give it a good strong password. Perhaps use a heinous one from GRC’s password page?

Now, log out and sign in by just providing your OpenID URL. Cool, huh?

Possibly Related posts:

  1. PayPal Security and OpenID Integration
  2. OpenID Delegation
  3. WordPress: Using Deko Boko forms with Atahualpa Theme
  4. WordPress 2.1 – More on those Editor Options
  5. Another Tool in the Blog Anti-Spam Toolkit


20 comments to OpenID Enabling a WordPress Blog

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>