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

Server to Server Authentication Question #612

gwlava opened this Issue Dec 1, 2017 · 1 comment


None yet
2 participants
Copy link

gwlava commented Dec 1, 2017


I've just recently started using FeathersJS and am prototyping a new system.

I've got 2 NodeJS server applications running, one performs the role of Feathers API Server (communicates to db, REST) and the other implements the Feathers client (my client Service) for making requests to the API service.

I want to have security implemented from my client Service to API service and have looked at the Custom Recipe in the documentation for using an API Key, I would be happy enough to use that but how do I send the key in the header for service methods from the feathers client?

Is using an API key the best method to authenticate for my server to server scenario?



This comment has been minimized.

Copy link

daffl commented Jan 27, 2018

It sounds like the best way in this case. The custom authentication strategy guide looks for an X-Api-Key header. So as long as you send an A-Api-Key: <my-api-key> header it should work.

@daffl daffl closed this Jan 27, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.