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

Authentication not working on remote URL #81

Open
zvandervelde opened this issue Sep 27, 2017 · 1 comment
Open

Authentication not working on remote URL #81

zvandervelde opened this issue Sep 27, 2017 · 1 comment

Comments

@zvandervelde
Copy link

zvandervelde commented Sep 27, 2017

I can successfully authenticate with an access_token locally, but when performing the same action on remote url, it always returns 401 error.

Update: same server running on heroku works, not on AWS. Anyone run into this before?

@zvandervelde zvandervelde changed the title Authentication now working on remote URL Authentication not working on remote URL Sep 27, 2017
@smande00
Copy link

smande00 commented Mar 6, 2019

I know this is old - however, I ran into this as well. A common AWS setup is to run nginx as a reverse proxy for node. If you are also using a custom access_token header, nginx will not forward that header to node by default. You'll need to set underscores_in_headers on in the server section of the nginx config.

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

2 participants