Question: how to set jti in jwt?
Answer: You can use express-jwt package var jwt = require('express-jwt'); var data = require('./data'); var utilities = require('./utilities'); var isRevokedCallback = function(req, payload, done){ var issuer = payload. iss; var tokenId = payload. jti; data.