Questions in case of multipul Types for one Service

Josh Hoyt josh at janrain.com
Sat Apr 15 12:24:09 UTC 2006


On 4/14/06, Johannes Ernst <jernst+lists.danga.com at netmesh.us> wrote:
> Why wouldn't you obtain the Yadis documents "on demand", i.e. when
> you are about to try using the identity URL for something like SSO?

I believe the case that he is describing is a case where you use
services from two different providers, but want to use the same
identifier for each of them. Something like:

http://blinkogami.com/j3h returns the following document when the
Yadis protocol is used:

<xrds:XRDS
    xmlns:xrds="xri://$xrds"
    xmlns:openid="http://openid.net/xmlns/1.0"
    xmlns="xri://$xrd*($v*2.0)">
    <XRD>
        <Service priority="10">
            <Type>http://openid.net/signon/1.2</Type>
            <URI>http://www.myopenid.com/server</URI>
            <openid:Delegate>http://josh.myopenid.com/</openid:Delegate>
        </Service>

        <Service priority="50">
            <Type>http://openid.net/signon/1.2</Type>
            <URI>http://mylid.net/j3h.</URI>
            <openid:Delegate>http://mylid.net/j3h.</openid:Delegate>
        </Service>
    </XRD>
</xrds:XRDS>

This allows me to use blinkogami.com/j3h as my identifier, and use
MyOpenID or mylid.net to authenticate with OpenID.

Josh


More information about the yadis mailing list