You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please do not report security vulnerabilities here. The Responsible Disclosure Program details the procedure for disclosing security issues.
Thank you in advance for helping us to improve this library! Please read through the template below and answer all relevant questions. Your additional work here is greatly appreciated and will help us respond as quickly as possible. For general support or usage questions, use the Auth0 Community or Auth0 Support. Finally, to avoid duplicates, please search existing Issues before submitting one here.
By submitting an Issue to this repository, you agree to the terms within the Auth0 Code of Conduct.
Description
Instance of UnauthorizedError couldn't be checked with instanceof
import { UnauthorizedError } from 'express-jwt';
const e = new UnauthorizedError('credentials_bad_format', new Error('a'));
console.log(e instanceof UnauthorizedError);
log
node index.js
false
Environment
Please provide the following:
Version of this library used: 7.7.1
Version of the platform or framework used, if applicable: no
Other relevant versions (language, server software, OS, browser): linux, node.js 16.14.2; npm 8.3.2
Other modules/plugins/libraries that might be involved:
The text was updated successfully, but these errors were encountered:
Please do not report security vulnerabilities here. The Responsible Disclosure Program details the procedure for disclosing security issues.
Thank you in advance for helping us to improve this library! Please read through the template below and answer all relevant questions. Your additional work here is greatly appreciated and will help us respond as quickly as possible. For general support or usage questions, use the Auth0 Community or Auth0 Support. Finally, to avoid duplicates, please search existing Issues before submitting one here.
By submitting an Issue to this repository, you agree to the terms within the Auth0 Code of Conduct.
Description
Instance of UnauthorizedError couldn't be checked with instanceof
Reproduction
package.json
index.js
log
Environment
The text was updated successfully, but these errors were encountered: