{"action":"created","issue":{"url":"https://api.github.com/repos/linemanjs/lineman/issues/347","labels_url":"https://api.github.com/repos/linemanjs/lineman/issues/347/labels{/name}","comments_url":"https://api.github.com/repos/linemanjs/lineman/issues/347/comments","events_url":"https://api.github.com/repos/linemanjs/lineman/issues/347/events","html_url":"https://github.com/linemanjs/lineman/issues/347","id":56746541,"number":347,"title":"API Proxy does not forward basic auth credentials","user":{"login":"mark-rushakoff","id":290647,"avatar_url":"https://avatars.githubusercontent.com/u/290647?v=3","gravatar_id":"","url":"https://api.github.com/users/mark-rushakoff","html_url":"https://github.com/mark-rushakoff","followers_url":"https://api.github.com/users/mark-rushakoff/followers","following_url":"https://api.github.com/users/mark-rushakoff/following{/other_user}","gists_url":"https://api.github.com/users/mark-rushakoff/gists{/gist_id}","starred_url":"https://api.github.com/users/mark-rushakoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mark-rushakoff/subscriptions","organizations_url":"https://api.github.com/users/mark-rushakoff/orgs","repos_url":"https://api.github.com/users/mark-rushakoff/repos","events_url":"https://api.github.com/users/mark-rushakoff/events{/privacy}","received_events_url":"https://api.github.com/users/mark-rushakoff/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-05T23:27:34Z","updated_at":"2015-02-06T23:04:31Z","closed_at":"2015-02-06T23:04:30Z","body":"Our API server uses basic auth. When we use Lineman's API proxy feature, the Chrome developer console shows us that we are making requests with the basic auth headers, but our API server logs show that no basic auth headers are present on the incoming requests.\r\n\r\nWe're happy to spend some time on a pull request for this, but we would need a little guidance on where to start because we're still pretty new to Node and Express."},"comment":{"url":"https://api.github.com/repos/linemanjs/lineman/issues/comments/73329714","html_url":"https://github.com/linemanjs/lineman/issues/347#issuecomment-73329714","issue_url":"https://api.github.com/repos/linemanjs/lineman/issues/347","id":73329714,"user":{"login":"mark-rushakoff","id":290647,"avatar_url":"https://avatars.githubusercontent.com/u/290647?v=3","gravatar_id":"","url":"https://api.github.com/users/mark-rushakoff","html_url":"https://github.com/mark-rushakoff","followers_url":"https://api.github.com/users/mark-rushakoff/followers","following_url":"https://api.github.com/users/mark-rushakoff/following{/other_user}","gists_url":"https://api.github.com/users/mark-rushakoff/gists{/gist_id}","starred_url":"https://api.github.com/users/mark-rushakoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mark-rushakoff/subscriptions","organizations_url":"https://api.github.com/users/mark-rushakoff/orgs","repos_url":"https://api.github.com/users/mark-rushakoff/repos","events_url":"https://api.github.com/users/mark-rushakoff/events{/privacy}","received_events_url":"https://api.github.com/users/mark-rushakoff/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T23:04:30Z","updated_at":"2015-02-06T23:04:30Z","body":"We dug into this some more, and we found that when we set basic auth headers with curl, our API server behind the Lineman proxy did correctly see the basic auth credentials. We believe the problem now is Chrome or configuration related (seeing some Google results about Chrome not sending basic auth headers unless the server rejects the request in a particular way), so I'm going to close this issue."}}