Closed jeffijoe closed 7 years ago
A secret can also be a buffer (when passed to jsonwebtoken) and the string check will prevent that.
jsonwebtoken
Offending line: https://github.com/feathersjs/feathers-authentication-jwt/blob/master/src/index.js#L43
Did you try if it works removing this line of code from the code for this package in node_modules?
node_modules
Yes, it works with that line removed.
A secret can also be a buffer (when passed to
jsonwebtoken
) and the string check will prevent that.Offending line: https://github.com/feathersjs/feathers-authentication-jwt/blob/master/src/index.js#L43