{"action":"created","issue":{"url":"https://api.github.com/repos/Mashape/kong/issues/460","labels_url":"https://api.github.com/repos/Mashape/kong/issues/460/labels{/name}","comments_url":"https://api.github.com/repos/Mashape/kong/issues/460/comments","events_url":"https://api.github.com/repos/Mashape/kong/issues/460/events","html_url":"https://github.com/Mashape/kong/issues/460","id":100089164,"number":460,"title":"Should be able to specify whether a plugin acts a Proxy-Level Authentication or direct Authentication","user":{"login":"ahmadnassri","id":183195,"avatar_url":"https://avatars.githubusercontent.com/u/183195?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmadnassri","html_url":"https://github.com/ahmadnassri","followers_url":"https://api.github.com/users/ahmadnassri/followers","following_url":"https://api.github.com/users/ahmadnassri/following{/other_user}","gists_url":"https://api.github.com/users/ahmadnassri/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmadnassri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmadnassri/subscriptions","organizations_url":"https://api.github.com/users/ahmadnassri/orgs","repos_url":"https://api.github.com/users/ahmadnassri/repos","events_url":"https://api.github.com/users/ahmadnassri/events{/privacy}","received_events_url":"https://api.github.com/users/ahmadnassri/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Mashape/kong/labels/plugins","name":"plugins","color":"bfdadc"}],"state":"open","locked":false,"assignee":{"login":"thefosk","id":964813,"avatar_url":"https://avatars.githubusercontent.com/u/964813?v=3","gravatar_id":"","url":"https://api.github.com/users/thefosk","html_url":"https://github.com/thefosk","followers_url":"https://api.github.com/users/thefosk/followers","following_url":"https://api.github.com/users/thefosk/following{/other_user}","gists_url":"https://api.github.com/users/thefosk/gists{/gist_id}","starred_url":"https://api.github.com/users/thefosk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thefosk/subscriptions","organizations_url":"https://api.github.com/users/thefosk/orgs","repos_url":"https://api.github.com/users/thefosk/repos","events_url":"https://api.github.com/users/thefosk/events{/privacy}","received_events_url":"https://api.github.com/users/thefosk/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2015-08-10T15:06:17Z","updated_at":"2015-08-11T05:37:17Z","closed_at":null,"body":"right now all the authentication plugins (basic, oauth) are using the `Authorization` header, I should be able to customize that header, at the very least, I should be able to configure it to use `Proxy-Authorization` in case I want to maintain my own authentication scheme in my API service."},"comment":{"url":"https://api.github.com/repos/Mashape/kong/issues/comments/129711232","html_url":"https://github.com/Mashape/kong/issues/460#issuecomment-129711232","issue_url":"https://api.github.com/repos/Mashape/kong/issues/460","id":129711232,"user":{"login":"thefosk","id":964813,"avatar_url":"https://avatars.githubusercontent.com/u/964813?v=3","gravatar_id":"","url":"https://api.github.com/users/thefosk","html_url":"https://github.com/thefosk","followers_url":"https://api.github.com/users/thefosk/followers","following_url":"https://api.github.com/users/thefosk/following{/other_user}","gists_url":"https://api.github.com/users/thefosk/gists{/gist_id}","starred_url":"https://api.github.com/users/thefosk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thefosk/subscriptions","organizations_url":"https://api.github.com/users/thefosk/orgs","repos_url":"https://api.github.com/users/thefosk/repos","events_url":"https://api.github.com/users/thefosk/events{/privacy}","received_events_url":"https://api.github.com/users/thefosk/received_events","type":"User","site_admin":false},"created_at":"2015-08-11T05:37:17Z","updated_at":"2015-08-11T05:37:17Z","body":"`X-Authorization` is being deprecated by another proposal because it starts with `X-` which is also one thing you asked #324.\r\n\r\n> Proxy-Authorization for authenticating on proxy level, followed by Service-Authorization for authorization with service provider / applciation developer, followed by Authorization for authenticating the user.\r\n\r\nThat's what I recommended doing: check for  \r\n\r\n"}}