Background
I want to implement the design presented in this article.
It can be summarised by the diagram below:
Add the following within your run method, it will solve this problem
ctx.setSendZuulResponse(false); ctx.setResponseStatusCode(401);