[OpenID] myopenid.com XRDS question

Shane B Weeden sweeden at au1.ibm.com
Thu Oct 1 13:42:55 UTC 2009


This is really a question for someone at JanRain, but I suspect you're out
there on this mailing list, and it might interest others....

Why does the XRDS returned for the OP-identifier only include SREG and not
AX, but the XRDS for a per-user identifier returns both?

OP Identifier XRDS

curl -v -k --header "accept: application/xrds+xml" https://www.myopenid.com
<?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://www.myopenid.com/server</URI>
    </Service>

  </XRD>
</xrds:XRDS>


User-specific XRDS

curl -v -k --header "accept: application/xrds+xml"
https://fred.myopenid.com

<xrds:XRDS
    xmlns:xrds="xri://$xrds"
    xmlns:openid="http://openid.net/xmlns/1.0"
    xmlns="xri://$xrd*($v*2.0)">
  <XRD version="2.0">
    <Service priority="0">
      <Type>http://specs.openid.net/auth/2.0/signon</Type>
        <Type>http://openid.net/sreg/1.0</Type>
        <Type>http://openid.net/extensions/sreg/1.1</Type>

<Type>http://schemas.openid.net/pape/policies/2007/06/phishing-resistant</Type>
        <Type>http://openid.net/srv/ax/1.0</Type>
      <URI>https://www.myopenid.com/server</URI>
      <LocalID>https://fred.myopenid.com/</LocalID>
    </Service>
    <Service priority="1">
      <Type>http://openid.net/signon/1.1</Type>
        <Type>http://openid.net/sreg/1.0</Type>
        <Type>http://openid.net/extensions/sreg/1.1</Type>

<Type>http://schemas.openid.net/pape/policies/2007/06/phishing-resistant</Type>
        <Type>http://openid.net/srv/ax/1.0</Type>
      <URI>https://www.myopenid.com/server</URI>
      <openid:Delegate>https://fred.myopenid.com/</openid:Delegate>
    </Service>
    <Service priority="2">
      <Type>http://openid.net/signon/1.0</Type>
        <Type>http://openid.net/sreg/1.0</Type>
        <Type>http://openid.net/extensions/sreg/1.1</Type>

<Type>http://schemas.openid.net/pape/policies/2007/06/phishing-resistant</Type>
        <Type>http://openid.net/srv/ax/1.0</Type>
      <URI>https://www.myopenid.com/server</URI>
      <openid:Delegate>https://fred.myopenid.com/</openid:Delegate>
    </Service>
  </XRD>
</xrds:XRDS>



More information about the general mailing list