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
I created a custom passport. I have multiple services under the same repo (monorepo), so I located the custom passport in a shared directory and I import it from there.
When providing wrong credential, instead of getting unauthorized exception, I'm getting internal server error.
Note: importing the package instead of installing - works fine.
Is there an existing issue for this?
Current behavior
I created a custom passport. I have multiple services under the same repo (monorepo), so I located the custom passport in a shared directory and I import it from there.
When providing wrong credential, instead of getting unauthorized exception, I'm getting internal server error.
Note: importing the package instead of installing - works fine.
Minimum reproduction code
https://github.com/danielyagodaev/custom-passport
Steps to reproduce
Expected behavior
When providing wrong credentials, I would expect getting 401 unauthorized error.
Package version
8.2.1
Passport version
0.5.2
NestJS version
8.4.4
Node.js version
16.14.2
In which operating systems have you tested?
Other
No response
The text was updated successfully, but these errors were encountered: