Closed ramrami closed 1 year ago
When the decodeToken function throws an error (because the token is invalid or missing), that error is not reported to Passport with self.fail, this results in uncaught or 500 errors instead of the expected 401
decodeToken
self.fail
Published in v1.2.1!
v1.2.1
Awesome! Thank you
When the
decodeToken
function throws an error (because the token is invalid or missing), that error is not reported to Passport withself.fail
, this results in uncaught or 500 errors instead of the expected 401