<div dir="ltr">Assuming the link has been updated, the example code seems to be wrong. <div><br></div><div>It states: </div><div><br></div><div><div style="color:rgb(0,0,0);font-family:verdana,charcoal,helvetica,arial,sans-serif;display:table;width:0px;margin-left:3em;margin-right:auto">
<pre style="font-family:'Courier New',Courier,monospace;padding:4px;background-color:rgb(204,204,204)">  HTTP/1.1 400 Bad Request
  WWW-Authenticate: error="invalid_redirect_uri",
    error_description="One or more redirect_uri values are invalid"
  Cache-Control: no-store
  Pragma: no-cache</pre></div><br>As you can see, this is missing the required authorization schema, which in our case is "Bearer". </div><div>The same is true for the ReadError. </div><div><br></div><div>RFC6750 states the example correctly as: </div>
<div><br></div><div><pre class="" style="font-size:1em;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0)">     HTTP/1.1 401 Unauthorized
     WWW-Authenticate: Bearer realm="example",
                       error="invalid_token",
                       error_description="The access token expired"</pre></div><div><br></div><div><br></div><div><br></div><div>Best, </div><div><br></div><div>Nat</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2013/12/16 Mike Jones <span dir="ltr"><<a href="mailto:Michael.Jones@microsoft.com" target="_blank">Michael.Jones@microsoft.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">






<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">The Registration error responses are specified to return errors using the mechanism defined in RFC 6750, but the examples didn’t do this.  This has now been corrected.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">See <a href="http://openid.bitbucket.org/openid-connect-registration-1_0.html#RegistrationError" target="_blank">
http://openid.bitbucket.org/openid-connect-registration-1_0.html#RegistrationError</a> and
<a href="http://openid.bitbucket.org/openid-connect-registration-1_0.html#ReadError" target="_blank">
http://openid.bitbucket.org/openid-connect-registration-1_0.html#ReadError</a>.<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">                                                            -- Mike<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</font></span></div>
</div>

<br>_______________________________________________<br>
Openid-specs-ab mailing list<br>
<a href="mailto:Openid-specs-ab@lists.openid.net">Openid-specs-ab@lists.openid.net</a><br>
<a href="http://lists.openid.net/mailman/listinfo/openid-specs-ab" target="_blank">http://lists.openid.net/mailman/listinfo/openid-specs-ab</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Nat Sakimura (=nat)<div>Chairman, OpenID Foundation<br><a href="http://nat.sakimura.org/" target="_blank">http://nat.sakimura.org/</a><br>@_nat_en</div>
</div>