Recently – both in my roll as a developer on the Elgg project, and as one of the organisers of Barcamp Transparency – I have found myself having to sign up for a whole bunch of accounts for various sites.
Each one asks me to fill in a profile, and each time I end up repeating myself. I am sick of it. This is the kind of thing OpenID was developed to partially solve, however I think this is overkill.
OpenID (as mentioned elsewhere) has problems and its uptake is declining. I rather think this is because it is trying to do far too much.
Gravatar on the other-hand is simple and to the point, requires the end user to do very little and is pretty damn simple to implement from a server point of view.
Could the same approach be used for profile fields? I think yes, and here’s how it might work…
- First of all, we have a site somewhere which lets a user create an account and fill in their profile fields.
- The profile comes pre-populated with common labels (name, description, location, interests etc), but lets users add extra fields if they like.
- The service has a REST like API at the back end which accepts queries like: http://fooprofile.com/api/[field]/[md5 hash of email address]/ to which it returns a blob of text.
- When a user creates a new account on bar.com, that site should attempt to pre-populate any profile fields with data from the service based on an md5 hash of their email address. These can of course be overridden locally.
- Periodically bar.com should update its fields via the API, unless the user has overridden the profile field (or has otherwise selected not to do so).
Crucially with this light method, the user experience of the site remains pretty much unchanged and all the hard work is done magically in the background.
I also think that there is no need to specify what fields constitute a profile. The semantics of this will likely evolve naturally over time and there is no way to predict what extra fields will be needed. You wouldn’t dictate what tags someone would use, so why dictate profile fields?
In phase two of this you could easily imagine using OAuth to decide which fields a site has access to.
You could also imagine multiple providers being possible (providing the api was consistent). So when a user signs in to bar.com they are asked who there provider is – so they could select fooprofile.com or wibbleprofile.co.uk or any other provider. This would keep OpenID’s distributed nature, but without confusing the user too much – a url is always a url in this model.
So all that leaves is the single point authentication aspect as a distinct and separate problem, and one which must be solved in a way that is transparent to the user – perhaps an encrypted and public key authenticated token exchange using a similar technology as the above?
Just pondering….
Update: I have bashed together an example of the sort of thing I was talking about over here: http://skunk.marcus-povey.co.uk/aer/
Or perhaps just have OpenIDs resolve to a page with an embedded hCard? The schema is already well defined and battle tested (it’s vCard after all), distributed, and entirely within the users control. Pretty much all of the smaller OpenID providers do this already, it’s the big ones that we have problems with.
@will norris That’s quite a nice solution, but trying to make everyone do that is likely to be near impossible unless its written in the spec.