Tuesday, December 11, 2007

Getting OpenID to work

I used to use AOL as my OpenID provider, since I already had an AIM account and that made things easy. However, delegating the authentication via this blog (one of the cooler things about OpenID) was a bit hit-and-miss. On some sites it would work, others would complain about errors. I managed to work out that this was due to some sites supporting OpenID 2.x, others OpenID 1.x. The AOL OpenID servers only support 1.x. To get 2.x to work you need an XRDS file, which AOL doesn't provide at the moment. You can write your own, but on a blogger website you've got nowhere to put it.

So, instead I've signed up for a myOpenID account. Then it's just a matter of adding the following to the html of this blog:


<link href='http://www.myopenid.com/server' rel='openid.server'/>
<link href='http://nomiddlename.myopenid.com' rel='openid.delegate'/>
<meta content='http://nomiddlename.myopenid.com/xrds' http-equiv='X-XRDS-Location'/>

[Taken from phydeaux3]

Then I can sign in to Movable Type 4 blogs (which was the main problem) with the URL http://nomiddlename.blogspot.com.

2 comments:

  1. Aha, glad it wasn't my MT install then.

    ReplyDelete
  2. Yep, tested it out earlier today.

    ReplyDelete