{"action":"created","issue":{"url":"https://api.github.com/repos/ForbesLindesay/passport-raven/issues/1","labels_url":"https://api.github.com/repos/ForbesLindesay/passport-raven/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ForbesLindesay/passport-raven/issues/1/comments","events_url":"https://api.github.com/repos/ForbesLindesay/passport-raven/issues/1/events","html_url":"https://github.com/ForbesLindesay/passport-raven/pull/1","id":109116627,"number":1,"title":"Support for passReqToCallback option","user":{"login":"S-Stephen","id":2464950,"avatar_url":"https://avatars.githubusercontent.com/u/2464950?v=3","gravatar_id":"","url":"https://api.github.com/users/S-Stephen","html_url":"https://github.com/S-Stephen","followers_url":"https://api.github.com/users/S-Stephen/followers","following_url":"https://api.github.com/users/S-Stephen/following{/other_user}","gists_url":"https://api.github.com/users/S-Stephen/gists{/gist_id}","starred_url":"https://api.github.com/users/S-Stephen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/S-Stephen/subscriptions","organizations_url":"https://api.github.com/users/S-Stephen/orgs","repos_url":"https://api.github.com/users/S-Stephen/repos","events_url":"https://api.github.com/users/S-Stephen/events{/privacy}","received_events_url":"https://api.github.com/users/S-Stephen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-30T15:29:06Z","updated_at":"2015-10-02T13:53:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ForbesLindesay/passport-raven/pulls/1","html_url":"https://github.com/ForbesLindesay/passport-raven/pull/1","diff_url":"https://github.com/ForbesLindesay/passport-raven/pull/1.diff","patch_url":"https://github.com/ForbesLindesay/passport-raven/pull/1.patch"},"body":"Dear Forbes,\r\n\r\n(I'm sure the if statement could be written a little more succinctly. )\r\n\r\nWhilst attempting to try out your passport-raven module in a Sails application I needed to access the request during the callback.  I noticed that there was an option I could set (passReqToCallback) but your modules didn't currently support it.  I added in here so hopefully it can now provide this feature.\r\n\r\nThe change to the test script sadly does not include a test for this change bu the ability to test the system from another host rather than localhost (I've no GUI on my dev machine).\r\n\r\nI'd be grateful if you could consider these changes.  I'm, hopefully, intending to use them\r\n\r\nThanks in advance,\r\nStephen"},"comment":{"url":"https://api.github.com/repos/ForbesLindesay/passport-raven/issues/comments/145028170","html_url":"https://github.com/ForbesLindesay/passport-raven/pull/1#issuecomment-145028170","issue_url":"https://api.github.com/repos/ForbesLindesay/passport-raven/issues/1","id":145028170,"user":{"login":"ForbesLindesay","id":1260646,"avatar_url":"https://avatars.githubusercontent.com/u/1260646?v=3","gravatar_id":"","url":"https://api.github.com/users/ForbesLindesay","html_url":"https://github.com/ForbesLindesay","followers_url":"https://api.github.com/users/ForbesLindesay/followers","following_url":"https://api.github.com/users/ForbesLindesay/following{/other_user}","gists_url":"https://api.github.com/users/ForbesLindesay/gists{/gist_id}","starred_url":"https://api.github.com/users/ForbesLindesay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ForbesLindesay/subscriptions","organizations_url":"https://api.github.com/users/ForbesLindesay/orgs","repos_url":"https://api.github.com/users/ForbesLindesay/repos","events_url":"https://api.github.com/users/ForbesLindesay/events{/privacy}","received_events_url":"https://api.github.com/users/ForbesLindesay/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T13:53:29Z","updated_at":"2015-10-02T13:53:29Z","body":"OK, I'm convinced :+1: Fix up those nits and I'll merge it in."}}