Adding Headers to Zuul when re-directing

后端 未结 3 1641
离开以前
离开以前 2021-01-18 07:49

I am trying to use Zuul to redirect calls to a downstream system somewhere else. In the re-direct, I need to add in a Header with necessary data for the

3条回答
  •  南笙
    南笙 (楼主)
    2021-01-18 08:07

    I update my comment here just in case if anyone is still facing this problem. I found this problem recently and resolved by adding the following configuration in my application.yml

    application.yml ... zuul: sensitive-headers: - Cookie,Set-Cookie ...

    Reference Link below:
    https://cloud.spring.io/spring-cloud-static/Dalston.SR5/multi/multi__router_and_filter_zuul.html

提交回复
热议问题