I’m running a self-hosted WordPress 2.7 blog on a GoDaddy.com IIS7 hosting plan. Today I was trying to setup my blog as an OpenID provider so I could use it to login to OpenID enabled sites like stackoverflow.
My first attempt was to use the WordPress OpenID plugin. Beside the fact that I couldn’t get it working, the plugin was really overkill for my needs. Since I’m using the DISQUS plugin for comments, I didn’t need OpenID support for those. I just wanted to be able to use http://robboek.com to log in to other sites.
Next, I tried phpMyID. phpMyID was pretty easy to setup and the test worked, but I couldn’t get it to let me login to stackoverflow. While trying to setup phpMyID, I noticed the link tags it had me insert into the template and figured that I should probably be able to point to another OpenID provider from my blog url and have that work. A little searching revealed this post that pointed me in the right direction.
Here are the steps to use your Google account as an OpenID Provider for your blog:
- Go to http://openid-provider.appspot.com/ and login using your Google account. It will give you an OpenID sign-on in the form of:
http://openid-provider.appspot.com/[your google email]
- Add the following 2 lines to the <head> section of your template:
<link rel="openid.server" href="[OpenID from step 1]" /> <link rel="openid.delegate" href="[OpenID from step 1]" />
As an example, the lines I added were:
<link rel="openid.server" href="http://openid-provider.appspot.com/rob@robboek.com" /> <link rel="openid.delegate" href="http://openid-provider.appspot.com/rob@robboek.com" />
That’s all there is to it. Two easy steps and now I can use http://robboek.com to login to OpenID enabled sites.







{ 2 trackbacks }