[Openid-specs-ab] Issue #912: Registration - 3.3. Client Registration Error Response example is missing schema (openid/connect)
Nat Sakimura
issues-reply at bitbucket.org
Tue Dec 17 02:07:34 UTC 2013
New issue 912: Registration - 3.3. Client Registration Error Response example is missing schema
https://bitbucket.org/openid/connect/issue/912/registration-33-client-registration-error
Nat Sakimura:
the example code seems to be wrong.
It states:
```
#!http
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
```
As you can see, this is missing the required authorization schema, which in our case is "Bearer".
It should be:
```
#!http
HTTP/1.1 400 Bad Request
WWW-Authenticate: Bearer error="invalid_redirect_uri",
error_description="One or more redirect_uri values are invalid"
Cache-Control: no-store
Pragma: no-cache
```
The same is true for the ReadError.
Responsible: mbj
More information about the Openid-specs-ab
mailing list