上一年的项目,今天用户那边突然报错,求指导:
{ code: 30204,
err: { JsonWebTokenError: invalid signature
at /tmp/function/@common_modules/uni-id/index.js:2458:24
at c (/tmp/function/@common_modules/uni-id/index.js:2442:14)
at Pr (/tmp/function/@common_modules/uni-id/index.js:2444:12)
at dn._verifyToken (/tmp/function/@common_modules/uni-id/index.js:5350:11)
at dn.getUserInfoByToken (/tmp/function/@common_modules/uni-id/index.js:2900:20)
at dn.<anonymous> (/tmp/function/@common_modules/uni-id/index.js:5749:23)
at Object.exports.main (/tmp/function/__index.js:24:24)
at Q (/tmp/function/index.js:1:24007)
at <anonymous> name: 'JsonWebTokenError', message: 'invalid signature' },
errCode: 'uni-id-check-token-failed',
errMsg: 'token校验未通过',
msg: 'token校验未通过',
message: 'token校验未通过' }
uni-id版本:3.3.28
1 个回复
星海扬帆 (作者) - 星帆云海
已解决,我定位时进入了一个token错误的环境,用户的报错原因是函数超时问题