Hi George,<div><br></div><div>At least for DotNetOpenAuth, only one attribute Type URI in the supported format needs to be listed in the XRDS for DNOA to use that format, and it won't assume that the set of attributes in the XRDS is a comprehensive list of the attributes offered, so this isn't a problem to just list one.</div>
<div><br></div><div>In fact, since it does simple pattern matching, if for privacy reasons you wanted to hide which attributes you offer, make one up with one of the 3 patterns, and DNOA will latch onto that pattern and send its request that way.</div>
<div><br clear="all">--<br>Andrew Arnott<br>"I [may] not agree with what you have to say, but I'll defend to the death your right to say it." - S. G. Tallentyre<br>
<br><br><div class="gmail_quote">On Fri, Jul 10, 2009 at 9:51 AM, George Fletcher <span dir="ltr"><<a href="mailto:gffletch@aol.com">gffletch@aol.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Sorry, didn't mean to sound like I didn't agree. I think more implementations could take the approach you've taken Andrew, and then with the registry we could simplify this so that OP's only have to publish one Type URI instead of one for each attribute. I suppose an OP that wanted to hide which attributes are available (for some privacy reason) could just add a URI to a single attribute that identifies the schema and then the RP would just send it's normal AX request asking for the data it wants.<br>
<br>
Thanks,<br>
George<br>
<br>
Breno de Medeiros wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Agree with everything that Andrew said<br>
<br></div><div class="im">
On Fri, Jul 10, 2009 at 9:34 AM, Andrew Arnott <<a href="mailto:andrewarnott@gmail.com" target="_blank">andrewarnott@gmail.com</a> <mailto:<a href="mailto:andrewarnott@gmail.com" target="_blank">andrewarnott@gmail.com</a>>> wrote:<br>
<br>
Presumably the RP has downloaded the OP's entire XRDS document.<br>
In that case, the RP just looks through the type URIs advertised<br>
until it finds a single AX attribute Type URI that matches any of<br>
the known three patterns, then it chooses that pattern to use. I<br>
don't think that's ugly, personally, even if there were 100 type<br>
URIs to sift through. But I've never seen an OP advertise that<br>
many type URIs, so it doesn't seem to be too much of a problem.<br>
<br>
<br>
I did not know that some libraries were doing this matching automatically, otherwise we would have added the individual type URIs to Google's XRDS document (I guess there is still time). The spec doesn't call for that explicitly.<br>
<br>
<br>
Rather than standardizing on a new type URI to indicate which<br>
pattern to use, which would require some work and agreement, we<br>
could expend that same effort just standardizing on a single<br>
pattern that everyone should use. <br>
<br>
Please embrace <a href="http://wiki.openid.net/ProposalForAURLSchemaRegistry" target="_blank">http://wiki.openid.net/ProposalForAURLSchemaRegistry</a> and let's get AX interoperability going.<br>
<br>
<br>
<br>
--<br>
Andrew Arnott<br>
"I [may] not agree with what you have to say, but I'll defend to<br>
the death your right to say it." - S. G. Tallentyre<br>
<br>
<br>
On Fri, Jul 10, 2009 at 9:29 AM, George Fletcher <<a href="mailto:gffletch@aol.com" target="_blank">gffletch@aol.com</a><br></div><div><div></div><div class="h5">
<mailto:<a href="mailto:gffletch@aol.com" target="_blank">gffletch@aol.com</a>>> wrote:<br>
<br>
That will work (though I don't remember seeing any at the time<br>
we were implementing OpenID 2.0 RP support). If I understand<br>
correctly, you are doing some pattern matching against the<br>
Type URIs to determine which schema is being used. Also, if<br>
the OP supports 10s or 100s of attributes then this gets<br>
pretty ugly. I'd prefer a single URI the represents the schema<br>
being used. The rest is pretty simple from there.<br>
<br>
Of course it's possible I misunderstood.<br>
<br>
<br>
Thanks,<br>
George<br>
<br>
Andrew Arnott wrote:<br>
<br>
George,<br>
<br>
Are you sure they're not defined? AX has attribute Type<br>
URIs. I've been an advocate that OPs publish all their<br>
supported AX attribute Type URIs in their XRDS document so<br>
that RPs know what they might expect from the OP, as well<br>
as discern which format of type URI that OP supports.<br>
Some OPs do just this, and DotNetOpenAuth (the RP part)<br>
automatically detects this from the OP's XRDS and sends<br>
either sreg or one of the three known AX type URI formats<br>
out there based on what it sees in the XRDS.<br>
<br>
--<br>
Andrew Arnott<br>
"I [may] not agree with what you have to say, but I'll<br>
defend to the death your right to say it." - S. G. Tallentyre<br>
<br>
<br>
On Fri, Jul 10, 2009 at 8:48 AM, George Fletcher<br>
<<a href="mailto:gffletch@aol.com" target="_blank">gffletch@aol.com</a> <mailto:<a href="mailto:gffletch@aol.com" target="_blank">gffletch@aol.com</a>><br></div></div><div class="im">
<mailto:<a href="mailto:gffletch@aol.com" target="_blank">gffletch@aol.com</a> <mailto:<a href="mailto:gffletch@aol.com" target="_blank">gffletch@aol.com</a>>>> wrote:<br>
<br>
Sure, or just define it in the XRDS for the OP. But<br>
those aren't<br>
currently defined.<br>
<br>
Thanks,<br>
George<br>
<br>
<br>
SitG Admin wrote:<br>
<br>
One other issue is that AX supports multiple<br>
schema and<br>
there is currently no way for the OP to<br>
advertise which<br>
schema it's using. So an RP has to build it's<br>
own mapping<br>
table to know what to send to the OP when using AX.<br>
<br>
<br>
Common key/API with "schema translation table" AX link?<br>
<br>
-Shade<br>
<br>
_______________________________________________<br>
general mailing list<br>
<a href="mailto:general@openid.net" target="_blank">general@openid.net</a> <mailto:<a href="mailto:general@openid.net" target="_blank">general@openid.net</a>><br></div>
<mailto:<a href="mailto:general@openid.net" target="_blank">general@openid.net</a> <mailto:<a href="mailto:general@openid.net" target="_blank">general@openid.net</a>>><div class="im"><br>
<br>
<a href="http://openid.net/mailman/listinfo/general" target="_blank">http://openid.net/mailman/listinfo/general</a><br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
general mailing list<br>
<a href="mailto:general@openid.net" target="_blank">general@openid.net</a> <mailto:<a href="mailto:general@openid.net" target="_blank">general@openid.net</a>><br>
<a href="http://openid.net/mailman/listinfo/general" target="_blank">http://openid.net/mailman/listinfo/general</a><br>
<br>
<br>
<br>
<br></div><div class="im">
-- <br>
--Breno<br>
<br>
+1 (650) 214-1007 desk<br>
+1 (408) 212-0135 (Grand Central)<br>
MTV-41-3 : 383-A<br>
PST (GMT-8) / PDT(GMT-7)<br>
</div></blockquote>
<br>
</blockquote></div><br></div>