<div dir="ltr">The first example at <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>  should be put back to showing the error in JSON in the response body.  invalid_redirect_uri is a registration error which doesn't make sense with WWW-Authenticate or RFC 6750 <br>

<div><br>See also Vladimir and my comments on <a href="https://bitbucket.org/openid/connect/issue/912/registration-33-client-registration-error">https://bitbucket.org/openid/connect/issue/912/registration-33-client-registration-error</a><br>

</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Dec 16, 2013 at 7:03 PM, Nat Sakimura <span dir="ltr"><<a href="mailto:sakimura@gmail.com" target="_blank">sakimura@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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="margin-right:auto;width:0px;margin-left:3em;display:table;font-family:verdana,charcoal,helvetica,arial,sans-serif">
<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 style="font-size:1em;margin-bottom:0px;margin-top:0px">     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><div class="h5">






<div link="blue" vlink="purple" lang="EN-US">
<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><font color="#888888"><u></u><u></u></font></span></p><span><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></div></div>_______________________________________________<br>
Openid-specs-ab mailing list<br>
<a href="mailto:Openid-specs-ab@lists.openid.net" target="_blank">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><span class="HOEnZb"><font color="#888888"><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>
</font></span></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></div>