Closed ashinzekene closed 5 years ago
I have had issues with authorization using this package. I was so frustrated I had to check the code and add logs. Here, I modified extract_jwt.js to
var jwt = require('jsonwebtoken'); module.exports = function(token, secretOrKey, options, callback) { return jwt.verify(token, secretOrKey, options, (err, res) => { console.log(options.issuer); console.log(err.message, res) callback(err, res); }); };
I get this from the console
send_te_app jwt issuer invalid. expected: send_te_app undefined
Is anyother person facing this issue
Closing as this is not an issue with this package.
I have had issues with authorization using this package. I was so frustrated I had to check the code and add logs. Here, I modified extract_jwt.js to
I get this from the console
Is anyother person facing this issue