Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when trying to get /api/deals/private with no token to check security #6

Open
vigalo opened this issue Jun 4, 2017 · 0 comments

Comments

@vigalo
Copy link

vigalo commented Jun 4, 2017

Hello

When I try to check if /api/deals/private is protected, using directly in browser, it shows this error, not only the 401 Unauthorized.

Error
at middleware (/var/www/server/node_modules/express-jwt/lib/index.js:80:21)
at Layer.handle [as handle_request] (/var/www/server/node_modules/express/lib/router/layer.js:95:5)
at next (/var/www/server/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/var/www/server/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/var/www/server/node_modules/express/lib/router/layer.js:95:5)
at /var/www/server/node_modules/express/lib/router/index.js:281:22
at Function.process_params (/var/www/server/node_modules/express/lib/router/index.js:335:12)
at next (/var/www/server/node_modules/express/lib/router/index.js:275:10)
at cors (/var/www/server/node_modules/cors/lib/index.js:185:7)
at /var/www/server/node_modules/cors/lib/index.js:221:17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant