4

关于微服务集成knife4j只有用户登录模块生效问题,其他模块过不了jwt验证问题

 2 years ago
source link: https://www.oschina.net/question/5175687_2324687
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

关于微服务集成knife4j只有用户登录模块生效问题,其他模块过不了jwt验证问题

osc_30181083 发布于 昨天 21:15

这是一个微服务架构,用户模块可以通过

up-13710a044afef8dd3d9a51cc3fb90207459.png

下图是文章模块,发现不能拿到数据,打开控制台一看,发现报错了!!!

up-758c0f623c4088e68f7d6af767cc3312884.png

断点调试,发现在chain.doFilter(req,res)处报错,JWT strings must contain exactly 2 period characters. Found: 0

up-cc8ddb60099d010dae8f5b5f5696c349d12.png

up-71977523d85c5d1c4395e9b33fadbddf39f.png

求助大佬!!!怎么解?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK