Using Zuul as an authentication gateway

前端 未结 3 1503
轻奢々
轻奢々 2020-12-07 14:30

Background

I want to implement the design presented in this article.

It can be summarised by the diagram below:

  1. The client fi
3条回答
  •  眼角桃花
    2020-12-07 15:09

    Add the following within your run method, it will solve this problem

    ctx.setSendZuulResponse(false);
    ctx.setResponseStatusCode(401);
    

提交回复
热议问题