{"action":"created","issue":{"url":"https://api.github.com/repos/pac4j/pac4j/issues/677","repository_url":"https://api.github.com/repos/pac4j/pac4j","labels_url":"https://api.github.com/repos/pac4j/pac4j/issues/677/labels{/name}","comments_url":"https://api.github.com/repos/pac4j/pac4j/issues/677/comments","events_url":"https://api.github.com/repos/pac4j/pac4j/issues/677/events","html_url":"https://github.com/pac4j/pac4j/issues/677","id":178013456,"number":677,"title":"Let the IpExtractor work on an alternative header name","user":{"login":"mmoayyed","id":1205228,"avatar_url":"https://avatars.githubusercontent.com/u/1205228?v=3","gravatar_id":"","url":"https://api.github.com/users/mmoayyed","html_url":"https://github.com/mmoayyed","followers_url":"https://api.github.com/users/mmoayyed/followers","following_url":"https://api.github.com/users/mmoayyed/following{/other_user}","gists_url":"https://api.github.com/users/mmoayyed/gists{/gist_id}","starred_url":"https://api.github.com/users/mmoayyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmoayyed/subscriptions","organizations_url":"https://api.github.com/users/mmoayyed/orgs","repos_url":"https://api.github.com/users/mmoayyed/repos","events_url":"https://api.github.com/users/mmoayyed/events{/privacy}","received_events_url":"https://api.github.com/users/mmoayyed/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pac4j/pac4j/labels/Improvement","name":"Improvement","color":"c2e0c6"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/pac4j/pac4j/milestones/16","html_url":"https://github.com/pac4j/pac4j/milestones/1.9.3","labels_url":"https://api.github.com/repos/pac4j/pac4j/milestones/16/labels","id":1944287,"number":16,"title":"1.9.3","description":null,"creator":{"login":"leleuj","id":1038508,"avatar_url":"https://avatars.githubusercontent.com/u/1038508?v=3","gravatar_id":"","url":"https://api.github.com/users/leleuj","html_url":"https://github.com/leleuj","followers_url":"https://api.github.com/users/leleuj/followers","following_url":"https://api.github.com/users/leleuj/following{/other_user}","gists_url":"https://api.github.com/users/leleuj/gists{/gist_id}","starred_url":"https://api.github.com/users/leleuj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leleuj/subscriptions","organizations_url":"https://api.github.com/users/leleuj/orgs","repos_url":"https://api.github.com/users/leleuj/repos","events_url":"https://api.github.com/users/leleuj/events{/privacy}","received_events_url":"https://api.github.com/users/leleuj/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":3,"state":"open","created_at":"2016-08-16T07:40:39Z","updated_at":"2016-09-20T16:03:12Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-09-20T09:42:41Z","updated_at":"2016-09-21T06:44:42Z","closed_at":null,"body":"IpExtractor does this:\r\n\r\n```\r\n    public TokenCredentials extract(WebContext context) {\r\n        String ip = context.getRemoteAddr();\r\n        return ip == null?null:new TokenCredentials(ip, this.clientName);\r\n    }\r\n```\r\n\r\nAdd support so a header can be used instead, which might be useful for proxying scenarios."},"comment":{"url":"https://api.github.com/repos/pac4j/pac4j/issues/comments/248525568","html_url":"https://github.com/pac4j/pac4j/issues/677#issuecomment-248525568","issue_url":"https://api.github.com/repos/pac4j/pac4j/issues/677","id":248525568,"user":{"login":"leleuj","id":1038508,"avatar_url":"https://avatars.githubusercontent.com/u/1038508?v=3","gravatar_id":"","url":"https://api.github.com/users/leleuj","html_url":"https://github.com/leleuj","followers_url":"https://api.github.com/users/leleuj/followers","following_url":"https://api.github.com/users/leleuj/following{/other_user}","gists_url":"https://api.github.com/users/leleuj/gists{/gist_id}","starred_url":"https://api.github.com/users/leleuj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leleuj/subscriptions","organizations_url":"https://api.github.com/users/leleuj/orgs","repos_url":"https://api.github.com/users/leleuj/repos","events_url":"https://api.github.com/users/leleuj/events{/privacy}","received_events_url":"https://api.github.com/users/leleuj/received_events","type":"User","site_admin":false},"created_at":"2016-09-21T06:44:42Z","updated_at":"2016-09-21T06:44:42Z","body":"@mmoayyed see: https://github.com/pac4j/pac4j/pull/679 for master and: https://github.com/pac4j/pac4j/pull/680 for the 1.8.x branch"}}
{"actor":{"display_login":"leleuj"}}