{"action":"created","issue":{"url":"https://api.github.com/repos/trajano/reverse-proxy-auth-sonar-plugin/issues/5","repository_url":"https://api.github.com/repos/trajano/reverse-proxy-auth-sonar-plugin","labels_url":"https://api.github.com/repos/trajano/reverse-proxy-auth-sonar-plugin/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/trajano/reverse-proxy-auth-sonar-plugin/issues/5/comments","events_url":"https://api.github.com/repos/trajano/reverse-proxy-auth-sonar-plugin/issues/5/events","html_url":"https://github.com/trajano/reverse-proxy-auth-sonar-plugin/issues/5","id":186170337,"number":5,"title":"Redirects to /sessions/null/sessions/init/reverseproxyauth","user":{"login":"girgen","id":813678,"avatar_url":"https://avatars.githubusercontent.com/u/813678?v=3","gravatar_id":"","url":"https://api.github.com/users/girgen","html_url":"https://github.com/girgen","followers_url":"https://api.github.com/users/girgen/followers","following_url":"https://api.github.com/users/girgen/following{/other_user}","gists_url":"https://api.github.com/users/girgen/gists{/gist_id}","starred_url":"https://api.github.com/users/girgen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/girgen/subscriptions","organizations_url":"https://api.github.com/users/girgen/orgs","repos_url":"https://api.github.com/users/girgen/repos","events_url":"https://api.github.com/users/girgen/events{/privacy}","received_events_url":"https://api.github.com/users/girgen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-10-30T22:43:28Z","updated_at":"2016-11-05T15:28:47Z","closed_at":"2016-10-31T18:13:23Z","body":"Hi!\n\nI'm trying to get the reverse-proxy-auth-sonar-plugin working. When clicking the Log-in link, I can see in the access log:\n\n```\n\"GET /sessions/new?return_to=%2F HTTP/1.1\" 302\n\"GET /sessions/null/sessions/init/reverseproxyauth HTTP/1.1\" 404\n```\n\nAny ideas what's wrong here? Latest code from master, and sonarqube 6.1. All I did was build the plugin, copy the one jar into extensions/plugins directory and add `sonar.security.realm=reverseproxyauth` to the `sonar.properties` file.\n\nBTW, what is the suggested configuration of apache for the plugin to work? There are no suggestions about this, would be great with a few lines in the readme.\n\nI'm using shibboleth for authentication, BTW.\n\nThanks,\nPalle\n"},"comment":{"url":"https://api.github.com/repos/trajano/reverse-proxy-auth-sonar-plugin/issues/comments/258618815","html_url":"https://github.com/trajano/reverse-proxy-auth-sonar-plugin/issues/5#issuecomment-258618815","issue_url":"https://api.github.com/repos/trajano/reverse-proxy-auth-sonar-plugin/issues/5","id":258618815,"user":{"login":"girgen","id":813678,"avatar_url":"https://avatars.githubusercontent.com/u/813678?v=3","gravatar_id":"","url":"https://api.github.com/users/girgen","html_url":"https://github.com/girgen","followers_url":"https://api.github.com/users/girgen/followers","following_url":"https://api.github.com/users/girgen/following{/other_user}","gists_url":"https://api.github.com/users/girgen/gists{/gist_id}","starred_url":"https://api.github.com/users/girgen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/girgen/subscriptions","organizations_url":"https://api.github.com/users/girgen/orgs","repos_url":"https://api.github.com/users/girgen/repos","events_url":"https://api.github.com/users/girgen/events{/privacy}","received_events_url":"https://api.github.com/users/girgen/received_events","type":"User","site_admin":false},"created_at":"2016-11-05T15:28:47Z","updated_at":"2016-11-05T15:28:47Z","body":"After fixing a bug in my apache config, it works like a charm. \r\n\r\n`        RequestHeader set X-Forwarded-User \"%{PROXY_USER}e\"` (I had REMOTE_USER there).\r\n\r\nI really think this project would gain from some simple examples how to configure the web server. Not all proxy configs use `X-Forwarded-User`, I hade to check the code to make sure that was the header to use. Apart from that it seems to work great for us. Thanks!"}}
{"actor":{"display_login":"girgen"}}