Skip to content

AuthenticationFailed error response is inconsistent with HTTP spec #20

@alexdutton

Description

@alexdutton

The SWORD spec says a 403 Forbidden response should be used in the scenario "The request supplied invalid credentials, or no credentials, when the server was expecting to authenticate the request.".

Invalid or no credentials should result in a 401 Unauthorized.

The spec is missing an error response for scenarios where the request is forbidden, e.g. if one is attempting to turn a completed deposit into an in-progress deposit, or otherwise modify a completed deposit.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions