• flickr
  • twitter
  • facebook
  • delicious
  • Google Buzz

IdentityCamp Bremen: Problems with OpenID delegation (technical)

by Christian Scholz on June 12, 2008

Boris Erdmann

I am posting this little late but better than never (no guarantee for any correctness esp as I am not 100% deep into OpenID):

Boris Erdmann was talking about problems he had with doing OpenID delegation. Their goal at the homepage construction kit Jimdo was not to be an OpenID provider but still be able to make each homepage an OpenID (as this makes sense for the users to have their homepage being one).

While Jimdo didn’t want to be an OpenID provider it still is good to have various other information stored at your homepage (XFN, hCard, FOAF etc.)

The problem is that Delegation is no service, in particular:

  1. No standardized way to do it
  2. No best practices
  3. Update liability

The latter means that how you get the delegation information to stay uptodate when a user changes their OpenID provider.

No standardized way for disovery

There are too many varietities:

  • HTML header (but you cannot do service discovery that way, e.g. PAPE, Sreg, AX etc.)
  • XRDS has many different possibilities: you can host it yourself or use an existing one. Problem here is that not all RPs perform XRDS discovery. Then the fallback is HTML discovery.
  • Problem with broken YADIS libraries like the one from Plaxo which does not set the Accept-Header correct (accepts all)

What you can eventually do is to discover it and republish it as XRDS.

Identifier Lifecycle

What if you upgrade from e.g. http://boris.jimdo.com to http://boris.com ?

Do you then have one or two identifiers?

In the first case you have to redirect (HTTP) from boris.com to boris.jimdo.com. The disadvantage is that sites only know you under the latter OpenID. The goal is not reached.

In the second case you have to update all the sites and change it their.

Dick Hardt had an idea which you can read about here.

Overloading and bad signalling

To stay high in search engines you have to redirect boris.jimdo.com to boris.com so that you are not doing Content Spam.

But: HTML discovery then is broken beyond repair (you lose boris.jimdo.com as identifier)

YADIS discovery would help but you need working RP libraries for that.

Another question: What happens if I release boris.com again and somebody else registers it? Sort of unsolved for delegation.

What do other people about it?

It seems, that services like Yahoo are very consequent and not providing stuff which is still in discussion. They also use fragment identifieres for distinguishing OpenIDs even if they have the same name.

As an example you can use https://me.yahoo.com/ to login to various services. In reality the complete URL is https://my.yahoo.com/#2762g2u2g87687 and the latter is what is transmitted from the OpenID provider to the Relying Party.

At one point in time there only is one person with e.g. a name=”boris”. But if he then chooses a different name another person can use “boris” then. He then gets a different hash than the former “boris” and RPs then know it’s somebody else.

Now the problem with delegation in this case is the following: I have my nice vanity URL names “http://boris.com”. I delegate this to my OpenID provider. Now somebody else buys this domain and all my accounts using this are compromised. This is also a problem with fragment identifiers.

All in all this problem seems to be unsolved it seems. The main intentent was to start thinking about it might get solved.
Technorati Tags: , , ,

Ähnliche Artikel

  • No Related Post

5 comments

Thanks – this has actually been something on my mind for a while, nice to see some negative points.

Maybe the DataPortability community can offer some potential solutions to the OpenID community for their consideration?

by Elias Bizannes on 12.6.2008 at 15:20. Reply #

Thanks for the run down Christian. I personally use and love openid delegation, and have experience some of the pains of varying levels of implementation, both from a consumer and plugin point of view.

The sooner these issues are resolved the better, as I truly think this is one of the most compelling uses of openid.

cheers

by David Novakovic on 12.6.2008 at 15:49. Reply #

Well, those delegation problems are not existing with Information Cards, like Windows Cardspace. Simply because it's not bound to a domain you need to own.

But there you have the problem that you might want your cards to be available from everywhere. And you need to have some separate program to be installed.

I also wonder if this discussion has been made on the openid mailing list. I migth take it there should I have some time.

Boris was also mentioning some proposal by Dick Hardt to prevent this but I don't know the URL. If somebody knows please post it! :-)

by Christian Scholz on 12.6.2008 at 17:52. Reply #

Hi,

thanks for pulling things togeher. One slight correction here: vanity yahoo OpenIDs look like this https://me.yahoo.com/boris#7b453

One clarification: The problem with fragment identifiers is that they don't work with delegation, since the fragment extension thing is part of the auth protocol in which the delegating party is not involved: delegation is a mere discovery thing.

by Boris Erdmann on 12.6.2008 at 17:53. Reply #

I've put up the slides for the IdentityCamp discussion here: http://boris.jimdo.com/documents.php

Thanks again!

by Boris Erdmann on 13.6.2008 at 14:31. Reply #

Leave your comment

Required.

Required. Not published.

If you have one.

Twitter Users
Enter your personal information in the form or sign in with your Twitter account by clicking the button below.