[OpenID] OpenId, YADIS and XRD versions

Axel.Nennker at telekom.de Axel.Nennker at telekom.de
Tue Apr 5 20:27:57 UTC 2011


Google uses: 

DoIhaveAnOpenID:<?xml version="1.0" encoding="UTF-8"?>
<xrds:XRDS xmlns:xrds="xri://$xrds" xmlns="xri://$xrd*($v*2.0)">
  <XRD xmlns="xri://$xrd*($v*2.0)" version="2.0">
    <Service>
      <Type>http://portablecontacts.net/spec/1.0</Type>
      <URI>http://www-opensocial.googleusercontent.com/api/people/</URI>
    </Service>
    <Service>
      <Type>http://specs.openid.net/auth/2.0/return_to</Type>
      <URI>https://www.google.com/accounts</URI>
    </Service>
  </XRD>
</xrds:XRDS>

Verisign uses:
DoIhaveAnOpenID:<?xml version="1.0" encoding="UTF-8"?>
<xrds:XRDS
    xmlns:xrds="xri://$xrds"
    xmlns="xri://$xrd*($v*2.0)">
  <XRD>

    <Service priority="0">
      <Type>http://specs.openid.net/auth/2.0/server</Type>
      <Type>http://openid.net/sreg/1.0</Type>
      <URI priority="0">https://pip.verisignlabs.com/server</URI>
    </Service>

  </XRD>
</xrds:XRDS>
 
Axel

> -----Original Message-----
> From: openid-general-bounces at lists.openid.net 
> [mailto:openid-general-bounces at lists.openid.net] On Behalf Of 
> Jørn Wildt
> Sent: Tuesday, April 05, 2011 9:32 PM
> To: openid-general at lists.openid.net
> Subject: [OpenID] OpenId, YADIS and XRD versions
> 
> I am wondering about what format to use for a YADIS document. 
> In november 
> 2010 XRD 1.0 became an OASIS standard (see 
> http://docs.oasis-open.org/xri/xrd/v1.0/xrd-1.0.html). The 
> format of XRD 
> documents according to this standard is something like this:
> 
> <XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0">
>   <Subject>http://example.com/gpburdell</Subject>
>   <Link rel="http://spec.example.net/auth/1.0"
>     href="http://services.example.com/auth" />
> </XRD>
> 
> But the YADIS specification (see 
> http://yadis.org/wiki/Yadis_1.0_%28HTML%29) 
> uses this syntax:
> 
> <xrds:XRDS xmlns:xrds="xri://$xrds" xmlns="xri://$xrd*($v*2.0)">
>   <XRD>
>      <Service priority="10">
>       <Type>http://openid.net/signon/1.0</Type>
>       <URI>http://www.myopenid.com/server</URI>
>     </Service>
>   </XRD>
> </xrds:XRDS>
> 
> This means that if I search for XRD I get the OASIS standard, 
> but if I 
> search for YADIS I get another standard. The question is now: 
> what format 
> should an OpenId provider use today?
> 
> Thanks, Jørn 
> 
> _______________________________________________
> general mailing list
> general at lists.openid.net
> http://lists.openid.net/mailman/listinfo/openid-general
> 


More information about the general mailing list