更新时间:2023-11-30 23:24:10
默认情况下,授权是敏感标头,这意味着Zuul不会转发它们.如果您将其保留在敏感标头之外,Zuul将转发标头.
Authorization is by default a sensitive header, this means Zuul will not forward them. If you leave it out of the sensitive headers, Zuul will forward the header.
zuul.sensitiveHeaders: Cookie,Set-Cookie
它也应该是camelCase而不是连字符.
It should also be camelCase instead of hyphenated.
其他信息: 查看全文