Creating an OpenID

OpenID is a decentralized authentication system that was created by LiveJournal and is now being developed as an open standard with the help of the Apache Foundation. Anyone can create an OpenID, and the number of sites that allow users to use their OpenID to log in is continually growing.

An OpenID is simply a URL. My OpenID is dragotown.com, the address of my weblog. I can use it to sign in to any site that supports OpenID, and because I’m the only person with control over my weblog’s homepage I’m the only person who can use that identity.

I followed the instructions in Simon Willison’s article, How to turn your blog in to an OpenID, and was able to create and begin using my OpenID very quickly.

There are really only two steps to designating the URL of your website as your OpenID. First, you sign up with an OpenID provider. A few popular providers are LiveJournal, Vox, VeriSign Labs, and MyOpenID. Note that since OpenID is decentralized, anyone can set up their own server, however these services offer to host your OpenID for you.

Next, you point your site to your chosen OpenID server by adding the appropriate code to the header of your site’s HTML. I chose claimID, so I added the following code:

  1. <link rel="openid.server" href="http://openid.claimid.com/server"/>
  2. <link rel="openid.delegate" href="http://openid.claimid.com/drago"/>

That’s it! Now, when you go to a site that allows you to log in using your OpenID, you simply enter your OpenID and you will be redirected to a page (on your OpenID server) where you enter your account’s password. Then, you are directed back to the page you were browsing.

There are many benefits of OpenID. A standardized login system means you don’t have to create an account at every site you want to log in to. Instead of remembering multiple usernames and passwords, each time you want to log into a site you are sent to your OpenID server. Also, the OpenID server can share information, such as your name, email, or address, with sites that support OpenID and which you have authorized to access the information.

Comments feed for this article

4 responses to “Creating an OpenID”

  1. Matt Haiznski says // April 25th, 2007

    I’ve always wondered how OpenID worked; thanks for explaining!

  2. Nick says // April 25th, 2007

    Sure, Matt.

    On another note, I watched Simon’s screencast on OpenID, and towards the end he reiterated that if more people use OpenID, then more sites will come to support it. So, to everyone: if you think it sounds promising, give it a try.

  3. Rhys Adams says // April 26th, 2007

    I agree. OpenID is a concept, and I hope it will save me many headaches from banging my head on the wall trying to remember my password (I don’t actually do this). But it’s limited by what sites support it, and the only way to get sites to support it is if the people use it. So do as Nick says, and get yourself one. It’ll take you almost no time at all, and you’ll have an easy-to-use identity.

    You can also check out http://openiddirectory.com/ for OpenID-enabled sites.

  4. Microformats - OpenID « Microformatter says // May 2nd, 2007

    [...] Microformats - OpenID Posted May 2, 2007 Creating an OpenID [...]

Leave a Reply