且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Zuul-> Eureka Server,基本身份验证问题

更新时间: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.

其他信息: 查看全文