因为zuul在转发的过程中会对header进行过滤,
处理方式是:
zuul:
routes:
<routeName>:
sensitive-headers:
custom-sensitive-headers: true
或者全部开启:
zuul:
sensitive-headers:
因为zuul在转发的过程中会对header进行过滤,
处理方式是:
zuul:
routes:
<routeName>:
sensitive-headers:
custom-sensitive-headers: true
或者全部开启:
zuul:
sensitive-headers:
本文标题:Header无法获取前端Authorization传值(Spri
本文链接:https://www.haomeiwen.com/subject/oidumctx.html
网友评论