-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API Design - Error Handling should include RFC6749 exception #129
Comments
The API design guidelines only apply to the service APIs. The standards and profiles that apply to the authentication flow itself are being discussed within the Identity & Consent working group. The already standardised error response will apply unless changes are agreed by that working group. |
@rartych As per your request I commented on the original issue #128 (comment) Which is about what OIDC and OAuth2 define as error responses for their endpoints. The document https://github.com/camaraproject/Commonalities/blob/main/documentation/API-design-guidelines.md#6-error-responses talks about resource server responses which are not standardized by OIDC nor OAuth2. I think there is no contradiction here and the issue can be closed, but maybe I am missing the point. |
I agree with Axel. |
Problem description
The API Design Guidelines discuss the standardized error format.
This makes sense for most APIs, except existing OAuth APIs such as when obtaining client_credentials access token. There are already errors defined for this in the format here:
Expected action
Documentation should indicate which format takes priority.
The text was updated successfully, but these errors were encountered: