A Beginner’s Guide to OpenID
September 2, 2007 in OpenID by Carsten Pötter | Comments
In recent months OpenID has got some really good coverage, it has been awarded and with OpenID 2.0 being in its final stages of development coverage will certainly continue to increase.
However not everyone is embracing OpenID. Some people have problems understanding it or finding an OpenID provider. And quite frankly, they are not to blame. I have also covered OpenID regularly but looking back at the articles I probably failed to provide you with an idea about the basics. So I try to offer a simple guide to set up an OpenID and eventually use it for your own benefit.
What is OpenID?
However before starting to use OpenID I better provide a short explanation of what it is about. OpenID is a system which lets you log in to all websites (applications, blogs, wikis,…) which support it. You don’t have to think about a new user name and password each time you decide to use a new service. And yes, remembering all those passwords can be difficult as well because you really don’t want to use the same password for all the websites you are registered with.
Systems which let you log in to various applications and services with just one user name and password are called Single Sign-On systems. You probably know some already. Google has its own system (Google Account Authentication), Yahoo has also one (BBAuth). Basically both systems allow you to sign in to most (e.g. del.icio.us is an exception) Google and Yahoo services and properties. Though you are limited to services of the respective companies. OpenID is not limited to just one company, though. It is decentralised – everyone can provide an identity service based on OpenID – and open. Also the developers of OpenID won’t charge you with fees if you want to use it.
An OpenID is fairly easy to remember; it is just a URI: http://example.com can be one and http://notsorelevant.com is actually one; I’ll explain that later. So all you have to remember is a URI and the password to log in to your provider.
Identity Providers
Identity Provider (IdP) or OpenID Provider (OP): Before using an OpenID you have to register with an Identity Provider. The provider’s job is to authenticate you to the website you want to use and offer you a URI, your OpenID, of course.
But first you have to find an IdP in order to get an OpenID. But where to find one? Well, the good thing is you probably already have an OpenID. There are some services that have transformed their user profiles to OpenID’s. Here is a list of some well-known ones including the respective URI’s:
- AOL/AIM: openid.aol.com/username
- WordPress.com: username.wordpress.com
- LiveJournal: username.livejournal.com/
- Vox: username.vox.com/
- Technorati: technorati.com/profile/username
- Typekey: profile.typekey.com/username/
- Ziki: my.ziki.com/username
So if you are registered with any of the mentioned services you can use those profile URI’s and easily log in to every OpenID enabled website. Cool, isn’t it?
Though there are also some more specialised IdP’s. There are quite a lot and I certainly don’t know all of them so I list just some good and respected services. For a comprehensive list of providers have a look at the OpenID.net wiki. That is especially recommended if you are looking for a provider from your own country and/or one that is run in a language you understand better than English.
- myOpenID.com
- claimID
- VeriSign PIP
- Xlogon
- Sxipper
- idproxy.net -> use your Yahoo account as an OpenID
- MyLID.net
- certifi.ca
- Vidoop
Those providers offer different ways of authentication, security options (anti-phishing,…), and additional services. So your decision is probably dependent on your own preferences. Also keep in mind that you are not limited to just one provider. Similarly to email you can use multiple providers for different purposes (private, business,…).
Relying Parties
Relying Party (RP) or Consumer: The Relying Party is the OpenID enabled website you want to use.
You have an OpenID now but where can you use it? Good question. By now several thousand websites are OpenID enabled, from small personal blogs to sites of some big companies. Some interesting ones are:
The OpenID Directory is listing a lot more websites and is highly recommended; myOpenID is also featuring a long list of affiliated sites.
How Does It Work?
You have an OpenID and know where to use it now. So here are some screenshots on how it actually works. I use myOpenID as a provider and Moneygement as a relying party.
On the right side of the Moneygement homepage is a sign in box. I just have to type in my OpenID there. http:// can be omitted. That’s cool because it would be very inconvenient if users had to type that in as well. You don’t type http:// in the browser anymore, do you? Now Moneygement is forwarding me to my provider (=myOpenID.com).

myOpenID.com has some security features to prevent phishing. I have to go to its homepage or use a bookmarklet to log in. I have decided to use the bookmarklet and after clicking it I have to sign in to myOpenID. If cookies are enabled I have to do this just once.

Now I have to confirm my OpenID to Moneygement; I can decide if I allow confirmation to Moneygement forever, just once or I can deny it. Also note that Moneygement has asked for additional information about myself. myOpenID can provide the desired information and auto-fill the appropriate fields at Moneygement. This nifty feature of OpenID is called Simple Registration Extension (SREG).

By clicking any of the allow buttons I will be forwarded back to Moneygement.
I am logged in now but still have to verify my email address which has been transmitted by SREG from myOpenID. This is optional and up to the RP to decide. Usually RP’s use it to verify that you are a human being and not some spam bot; captchas are also used for the same purpose rather often.
Now you know the basics of logging in with an OpenID.
Delegation
If you have control over a website, i.e. you can edit the HTML of the site, you might consider delegation. Delegation means that you can use the URI of your website or blog as an OpenID without becoming an IdP yourself. All you have to do is adding some HTML to the Head section of your site.
I use this blog’s URI (http://notsorelevant.com) as an OpenID and delegate to myOpenID but it works with every other IdP as well. The additional HTML of the header looks like this:
<link rel="openid.server" href="http://www.openidserver.com/server" />
<link rel="openid.delegate" href="https://username.openidserver.com/" />
Of course, openidserver.com is the URI of your IdP. So the first line is telling the RP what’s your IdP and the second one what’s your account there. The benefits of delegation are obvious: you can switch IdP’s whenever you want without losing any data at RP’s. Your OpenID remains the same, e.g. your blog URI. If you didn’t use delegation you would create a new account at RP’s each time you sign in with a new OpenID. Some RP’s let you associate multiple OpenID’s with one account, though.
Running Your own OpenID Server
If you are feeling really geeky now you can try and run your OpenID server now. I have written a blog post about it in May already, so check it out. Keep in mind that you have to care about security questions yourself then. Too much hassle for me so I rely on established providers.
Obstacles
Usually logging in to OpenID enabled sites is very easy and straight forward. Though sometimes you might encounter some problems.
- On new sites go to sign in or log in, not sign up, register or whatever. You have the credentials to sign in already: your OpenID.
- Sometimes you have to look a little bit close to discover the OpenID login box. Some sites hide them behind another link at the login screen because user names/passwords are still the dominant method of login there.
- You can only use an OpenID if you have signed in with a user name/password combination first. Usually this happens when a service hasn’t adopted OpenID right from the start. You have to associate your existing account with an OpenID first. Later you can sign in with your OpenID.
- Not every IdP is also a RP; e.g. at the moment you can’t create a WordPress.com account with an OpenID other than a WordPress.com one.
- Some services (e.g. AOL) are whitelisting IdP’s, i.e. they don’t accept OpenID’s from every IdP.
Though those are just some minor obstacles and the more you use OpenID the more you will be comfortable with it. Remember it’s just a URI.
Tags: AOL, Business, delegate, easy and straight forward, good and respected services, Google, HTML, http, MyLID.net, OpenID.net, private, Relying Party, Yahoo
-
Gary Krall
-
Carsten Pötter
-
Ashish Jain
-
Carsten Pötter
Recent Articles
-
OpenID: Another Connect and Marketing
January 6, 2010 in OpenID
Oh no, not another post on OpenID already, you might think. Well, the new year is only a few days old and there are already three posts and tweets respectively that got me thinking about it again. But if you don’t want to read about OpenID again, just ditch this post.
The Idea of [...] -
Hidden Progress of OpenID
December 17, 2009 in OpenID
Yesterday, the
-
Great Customer Service for a Foolish Guy
October 29, 2009 in General
This blog post is a little bit different from the not so relevant open web centric stuff you usually find here. However I think it’s a good story about great customer service. So why not share it with you, although I play the stupid part in this story?
On Sunday I checked my credit card bill [...] -
Microformateers: Quick Microformats Support
October 25, 2009 in Microformats
Microformats are really cool. Small snippets of code that semantically describe various information included in any published text on the web. It’s not visible information for end-users but rather metadata that can be crawled and parsed by search engines or extracted by other means, like browser add-ons.
While microformats are rather simple – even I understand [...] -
Ma.gnolia Is Back
September 26, 2009 in Open Web
Some of the best things in life happen when you least expect them. Suddenly they are right here and you’re happy. That is especially true to things you loved dearly in the past but disappeared months before without warning. Like Ma.gnolia, the small but beautiful and elegant bookmarking service. Needless to say, the tweet by [...]
Worth Reading
Amber Naslund
Close preview
Loading...Chris Brogan
Close preview
Loading...Chris Messina
Close preview
Loading...Christian Scholz
Close preview
Loading...David Recordon
Close preview
Loading...Frank Hamm
Close preview
Loading...Franz Patzig
Close preview
Loading...Hutch Carpenter
Close preview
Loading...Marcel Weiß
Close preview
Loading...Markus Spath
Close preview
Loading...Matthias Gutjahr
Close preview
Loading...Matthias Pfefferle
Close preview
Loading...Netzwertig
Close preview
Loading...Read/Write Web
Close preview
Loading...Sebastian Küpers
Close preview
Loading...Silke Berz
Close preview
Loading...The FASTForward Blog
Close preview
Loading...Valeria Maltoni
Close preview
Loading...
