Discovery - No error response syntax defined for provider configuration Discovery
Issue #911
resolved
The Discovery spec does not describe any means of returning errors when the GET for provider configuration fails. Yes, HTTP error codes would be used, but there's no syntax defined for returning an error code, error description, or error uri.
My suggestion would be to use the same error return mechanism as the OAuth Token endpoint - a JSON body with these fields. I don't think we have to define any custom error codes.
Comments (4)
-
-
On the call we decided to add a note saying the error response format is http
-
-
assigned issue to
-
assigned issue to
-
reporter - changed status to resolved
Fixed
#911- Stated that Discovery error responses use HTTP status code values.→ <<cset 7b0e4e6803a3>>
- Log in to comment
It is a GET for a file. I don't know that we need anything more than the stock HTTP response. Basically the file is there or not, The only other thing the client could do is ask for the wrong file and that would return am error or some inappropriate content.
I am not against defining the error body as JSON, but in the current spec there is noting that would return that sort of error.