{"action":"created","issue":{"url":"https://api.github.com/repos/Khan/khan-api/issues/95","labels_url":"https://api.github.com/repos/Khan/khan-api/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/Khan/khan-api/issues/95/comments","events_url":"https://api.github.com/repos/Khan/khan-api/issues/95/events","html_url":"https://github.com/Khan/khan-api/issues/95","id":106641050,"number":95,"title":"oauth_callback not respected when passed via headers","user":{"login":"jesseditson","id":370239,"avatar_url":"https://avatars.githubusercontent.com/u/370239?v=3","gravatar_id":"","url":"https://api.github.com/users/jesseditson","html_url":"https://github.com/jesseditson","followers_url":"https://api.github.com/users/jesseditson/followers","following_url":"https://api.github.com/users/jesseditson/following{/other_user}","gists_url":"https://api.github.com/users/jesseditson/gists{/gist_id}","starred_url":"https://api.github.com/users/jesseditson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jesseditson/subscriptions","organizations_url":"https://api.github.com/users/jesseditson/orgs","repos_url":"https://api.github.com/users/jesseditson/repos","events_url":"https://api.github.com/users/jesseditson/events{/privacy}","received_events_url":"https://api.github.com/users/jesseditson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-15T20:37:47Z","updated_at":"2015-09-20T03:31:43Z","closed_at":null,"body":"Hey there!\r\n\r\nI was trying to authorize using an `Authorization` header, and while I am successfully able to hit the `request_token` endpoint and `authorize` endpoint, after I authorize the app I'm taken to the `default_callback` page instead of redirecting to the endpoint specified when passing an `oauth_callback` param via the `Authorization` header to the `request_token` endpoint.\r\n\r\nI was successfully able to perform the same transaction using a `POST`, so I suspect that this may be an edge case on your side."},"comment":{"url":"https://api.github.com/repos/Khan/khan-api/issues/comments/141741372","html_url":"https://github.com/Khan/khan-api/issues/95#issuecomment-141741372","issue_url":"https://api.github.com/repos/Khan/khan-api/issues/95","id":141741372,"user":{"login":"jesseditson","id":370239,"avatar_url":"https://avatars.githubusercontent.com/u/370239?v=3","gravatar_id":"","url":"https://api.github.com/users/jesseditson","html_url":"https://github.com/jesseditson","followers_url":"https://api.github.com/users/jesseditson/followers","following_url":"https://api.github.com/users/jesseditson/following{/other_user}","gists_url":"https://api.github.com/users/jesseditson/gists{/gist_id}","starred_url":"https://api.github.com/users/jesseditson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jesseditson/subscriptions","organizations_url":"https://api.github.com/users/jesseditson/orgs","repos_url":"https://api.github.com/users/jesseditson/repos","events_url":"https://api.github.com/users/jesseditson/events{/privacy}","received_events_url":"https://api.github.com/users/jesseditson/received_events","type":"User","site_admin":false},"created_at":"2015-09-20T03:31:43Z","updated_at":"2015-09-20T03:31:43Z","body":"No worries,  I've worked around it in my end so no hurry. \n\n\n\n—\nSent from Mailbox\n\nOn Sat, Sep 19, 2015 at 6:40 PM, Alan Pierce <notifications@github.com>\nwrote:\n\n> Hi, thanks for the report. Agreed that this is a bug. I filed an internal issue, although we're treating it as pretty low priority for now because of the POST workaround. I can raise the priority if this becomes more of an annoyance, though.\n> ---\n> Reply to this email directly or view it on GitHub:\n> https://github.com/Khan/khan-api/issues/95#issuecomment-141724494"}}