Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Request doesn't contain any headers when user service requested #578
Steps to reproduce
Before start run mongodb.
POST to localhost:8080/authentication
You will get token.
Then, request localhost:8080/user and get
As I saw with debugger, target strategy gets request without any headers. So, no headers - no token.
Module versions (especially the part that's not working):
NodeJS version: v8.4.0
Operating System: Linux 4.10.0-35-generic x86_64
I found the problem... Authentication service must be configured before any services which require authentication. In my case, user was the first.