[OpenID] OpenID and LRDD

Santosh Rajan santrajan at gmail.com
Fri Sep 11 03:07:46 UTC 2009


Further to Dirks post here
http://hueniverse.com/2009/09/openid-and-lrdd/

I would like to add my comments here for discussion.

I would like to use the host-meta as shown below with my notes below.
<XRD>
  <Subject>example.com</Subject>
  <Link>
    <Rel>describedby</Rel>
    <URITemplate>http://example.com/getxrd?subject={%uri}<http://example.com/getxrd?subject=%7B%uri%7D>
</URITemplate>
    <MediaType>application/xrd+xml</MediaType>
  </Link>
</XRD>

Please note the following.
1) Look for Link element with Rel=describedby &&
MediaType=application/xrd+xml.
2) The {%uri} in the template is the <Subject> of the XRD to be retrieved.
So the same template is used for all protocols. "http://example.com/joe" for
OpenID. "acct://joe@example.com" for webfinger.
3) Note in the above it is "acct://" and not "acct:". Let us streamline
<Subject> so that it can be parsed as a URI so that we can clearly determine
the host part.
4) Host-meta is defined as a SPECIAL CASE of XRD where the <Subject>  ONLY
has a host part. "http://example.com/joe" cannot be a host-meta subject
because it has a path part. "acct://joe@example.com" cannot be a host-meta
subject because it has a userinfo part. Only "http://example.com" can be the
<Subject> of a host-meta.
5) In the case where the user is using a domain name as his identity  eg. "
http://joe.example.com", then the users XRD IS ALSO the host-meta.





-- 
http://santrajan.blogspot.com
http://twitter.com/santoshrajan
http://www.facebook.com/santosh.rajan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openid.net/pipermail/openid-general/attachments/20090911/8a31bc0f/attachment.htm>


More information about the general mailing list