How to fix? JsonWebTokenError: jwt must be a string error in Nodejs

前端 未结 0 1430
暖寄归人
暖寄归人 2020-12-21 13:21

controller code below:

async isAuthorised (req, res) {
    const token = req.cookies; //req.body.token;
    let response = authMiddleware.decodeJWT(token);

          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题