Open barclayadam opened 4 years ago
The Authentication and Authorisation middlewares should directly return a new ForbiddenResult or UnauthorisedResult instead of throwing an exception and then having that interrogated and converted back to a forbidden/unauthorised HTTP result
ForbiddenResult
UnauthorisedResult
The Authentication and Authorisation middlewares should directly return a new
ForbiddenResult
orUnauthorisedResult
instead of throwing an exception and then having that interrogated and converted back to a forbidden/unauthorised HTTP result