UnauthorizedError

UnauthorizedError: No authorization token was found

后端express-jwt没有设置白名单,设置白名单后即可 app.use( expressjwt({ secret: "sdfsd156f2", algorithms: ["HS256"] }).unless({ path: ["/test/login"],//白名单,不需要进行验证的接口 }) ......
共1篇  :1/1页 首页上一页1下一页尾页