Basic Authentication service called By Zuul

后端 未结 6 749
闹比i
闹比i 2021-01-14 23:33

I\'m Zuul as edge server. so all request pass by this edge server. I have a micro-service A. all web services of A are protected by Basic Authentication. How can we call the

6条回答
  •  -上瘾入骨i
    2021-01-15 00:23

    Use zuul's sensitive header property with the blank value,

    zuul.sensitiveHeaders=
    

    Above property will do the trick but if you want to have filters for Cookie headers you can use that property with values,

    zuul.sensitiveHeaders=Cookie,Set-Cookie
    

提交回复
热议问题