Closed jesuspc closed 8 years ago
A middleware function that should kill the request with a 400 with error message if the scope is not 'users' or 'accounts' should be implemented and applied to all endpoints. Please include integration tests as shared examples as part of the task.
The response body should be:
{"error":"scope does not have a valid value"}
Branch merged. A new issue to replace the parameteriser name will be created by @jonathancecil
A middleware function that should kill the request with a 400 with error message if the scope is not 'users' or 'accounts' should be implemented and applied to all endpoints. Please include integration tests as shared examples as part of the task.
The response body should be:
{"error":"scope does not have a valid value"}