express_jwt icon indicating copy to clipboard operation
express_jwt copied to clipboard

Results 4 express_jwt issues
Sort by recently updated
recently updated
newest added

![Screenshot 2024-12-28 122858](https://github.com/user-attachments/assets/ad665d16-b2ce-478f-8146-cd21f4d26e65) When attempting to access nonexistent routes, the application incorrectly returns an "Unauthorized" error instead of the expected "404" response. This issue occurs because the verifyJWT middleware is...

### **Pull Request Description** #### **Problem** The `verifyJWT` middleware was being applied globally, causing it to intercept all requests, including those to nonexistent routes. This resulted in "Unauthorized" errors being...