Closed scottlowe closed 1 year ago
This PR is currently waiting upon a fix to the auth middleware which contains a bug whereby any exception, for example an a 503 error will be caught and rethrown as an HTTP 401 error response.
Force pushed to resolve merge conflicts following a rebase since master
has changed.
Addresses issue #548.
See Rick's comment here:
https://github.com/Swirrl/drafter/issues/548#issuecomment-1227425832
This PR also includes a commit from @lkitching which addresses a bug in auth middleware whereby all error types are caught and returned as a
401 not authorised
error.