Convert payload to JWT. 12. const jwtUserPayload = jwt.sign(userPayload, process.env.JWT_SECRET!, {. 13. algorithm: 'HS256',. 14. expiresIn: jwtExpires,.
確定! 回上一頁