{"action":"created","issue":{"url":"https://api.github.com/repos/bitly/oauth2_proxy/issues/320","repository_url":"https://api.github.com/repos/bitly/oauth2_proxy","labels_url":"https://api.github.com/repos/bitly/oauth2_proxy/issues/320/labels{/name}","comments_url":"https://api.github.com/repos/bitly/oauth2_proxy/issues/320/comments","events_url":"https://api.github.com/repos/bitly/oauth2_proxy/issues/320/events","html_url":"https://github.com/bitly/oauth2_proxy/issues/320","id":190016520,"number":320,"title":"HTTP Authorization Bearer Header","user":{"login":"allistera","id":80728,"avatar_url":"https://avatars1.githubusercontent.com/u/80728?v=3","gravatar_id":"","url":"https://api.github.com/users/allistera","html_url":"https://github.com/allistera","followers_url":"https://api.github.com/users/allistera/followers","following_url":"https://api.github.com/users/allistera/following{/other_user}","gists_url":"https://api.github.com/users/allistera/gists{/gist_id}","starred_url":"https://api.github.com/users/allistera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allistera/subscriptions","organizations_url":"https://api.github.com/users/allistera/orgs","repos_url":"https://api.github.com/users/allistera/repos","events_url":"https://api.github.com/users/allistera/events{/privacy}","received_events_url":"https://api.github.com/users/allistera/received_events","type":"User","site_admin":false},"labels":[{"id":22428862,"url":"https://api.github.com/repos/bitly/oauth2_proxy/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-17T11:13:20Z","updated_at":"2017-04-08T14:33:17Z","closed_at":null,"body":"Hi!\r\n\r\nIs it possible to send requests to the oauth2_proxy containing the already retrieved oAuth2 token?\r\n\r\noauth2_proxy would essentially proxy this token forward if it is set rather than looking at it from session store. \r\n\r\nThis would be useful when programmably accessing the service.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/bitly/oauth2_proxy/issues/comments/292721868","html_url":"https://github.com/bitly/oauth2_proxy/issues/320#issuecomment-292721868","issue_url":"https://api.github.com/repos/bitly/oauth2_proxy/issues/320","id":292721868,"user":{"login":"idntfy","id":3023928,"avatar_url":"https://avatars1.githubusercontent.com/u/3023928?v=3","gravatar_id":"","url":"https://api.github.com/users/idntfy","html_url":"https://github.com/idntfy","followers_url":"https://api.github.com/users/idntfy/followers","following_url":"https://api.github.com/users/idntfy/following{/other_user}","gists_url":"https://api.github.com/users/idntfy/gists{/gist_id}","starred_url":"https://api.github.com/users/idntfy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idntfy/subscriptions","organizations_url":"https://api.github.com/users/idntfy/orgs","repos_url":"https://api.github.com/users/idntfy/repos","events_url":"https://api.github.com/users/idntfy/events{/privacy}","received_events_url":"https://api.github.com/users/idntfy/received_events","type":"User","site_admin":false},"created_at":"2017-04-08T14:33:17Z","updated_at":"2017-04-08T14:33:17Z","body":"Currently it's possible to run a proxy with the following param:\r\n>-pass-access-token=false: pass OAuth access_token to upstream via X-Forwarded-Access-Token header\r\nWe already use it that way for our internal api to recognize a user logged in.\r\n\r\noauth_proxy sends Authorization header with `-pass-basic-auth=true` option but the output is likely not what you'd expect: it encodes just a username, not an access token."}}
{"actor":{"display_login":"idntfy"}}