After upgrading the dependency in Node app causes ReferenceError 'XMLHttpRequest is not defined'
markusl opened this issue · 1 comments
markusl commented
I tried to upgrade the library to latest version in a Nodejs express application and it now fails with ReferenceError 'XMLHttpRequest is not defined'. Is this possibly caused by changes in the library or should I modify my application code somehow?
luisrudge commented
Indeed it is. nodejs is not supported by this library. You should use https://github.com/auth0/node-jsonwebtoken in the server.