<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>I have to admit that I have never tested OPs or RPs for processing error messages according to the spec.</div><div><br></div><div>Another thing to add to the tests:)</div><div><br></div><div>I would be surprised if many of them properly implement direct errors. </div><div>For direct errors it would be simple enough to add a error code to the parameters returned.</div><div>At the moment the only required elements are namespace and a human readable string.</div><div><br></div><div>For indirect errors the same issues apply.</div><div>I would rather define a new parameter for a numeric error code than mess with having RPs try and parse it out of a string.</div><div><br></div><div>The existing openID 2.0 spec accommodates this.</div><div><br></div><div>It is probably properly an extension to openID 2.0 that could be incorporated in V.next.</div><div><br></div><div>We need a WG to define the parameter for the error message eg openid.error_code and a list of error conditions with say 4 digit numbers assigned to them.</div><div><br></div><div>Adoption will take a wile but it is probably worthwhile.</div><div><br></div><div>John B.</div><div><br><div><div>On 2010-01-06, at 12:57 AM, Johannes Ernst wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">The general list had nothing to say so far. Is that something that should be covered in an addendum / errata ... or other document?<div><br><div><br><div>Begin forwarded message:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>From: </b></span><span style="font-family:'Helvetica'; font-size:medium;">Johannes Ernst <<a href="mailto:jernst+openid.net@netmesh.us">jernst+openid.net@netmesh.us</a>><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>Date: </b></span><span style="font-family:'Helvetica'; font-size:medium;">January 4, 2010 10:18:48 PST<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>To: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><a href="mailto:openid-general@lists.openid.net">openid-general@lists.openid.net</a><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>Subject: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><b>[OpenID] openid error mode</b><br></span></div><br><div>Apparently a few people in the wild do implement openid.error. What do RPs do when they receive that? Display it to the user? Throw up their hands and say "something weird happened"?<br><br>There are plenty of problems with the way openid.error is (under-) defined, including:<br> - not internationalizable<br> - not computer-interpretable<br> - unclear whether the conveyed text message is formatted, or how.<br><br>Questions:<br>1. Could we come up with an enumeratable list of error conditions, or are everybody's possible errors different? Error codes?<br>2. Should we define that the error message be used for internal logging or to be shown to the user?<br>3. If the latter, should we define that the locale of the error message should be the user's locale at the OP? What if the problem is that the user is not known at the OP? Should the RP pass on a locale?<br><br>Happy new year everybody,<br><br><br><br>Johannes.<br><br>_______________________________________________<br>general mailing list<br><a href="mailto:general@lists.openid.net">general@lists.openid.net</a><br><a href="http://lists.openid.net/mailman/listinfo/openid-general">http://lists.openid.net/mailman/listinfo/openid-general</a><br></div></blockquote></div><br></div></div>_______________________________________________<br>specs mailing list<br><a href="mailto:specs@lists.openid.net">specs@lists.openid.net</a><br>http://lists.openid.net/mailman/listinfo/openid-specs<br></blockquote></div><br></div></body></html>