{"action":"created","issue":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-web-stomp/issues/43","repository_url":"https://api.github.com/repos/rabbitmq/rabbitmq-web-stomp","labels_url":"https://api.github.com/repos/rabbitmq/rabbitmq-web-stomp/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/rabbitmq/rabbitmq-web-stomp/issues/43/comments","events_url":"https://api.github.com/repos/rabbitmq/rabbitmq-web-stomp/issues/43/events","html_url":"https://github.com/rabbitmq/rabbitmq-web-stomp/issues/43","id":130518973,"number":43,"title":"HTTP basic auth for authentication","user":{"login":"laurentluce","id":125146,"avatar_url":"https://avatars.githubusercontent.com/u/125146?v=3","gravatar_id":"","url":"https://api.github.com/users/laurentluce","html_url":"https://github.com/laurentluce","followers_url":"https://api.github.com/users/laurentluce/followers","following_url":"https://api.github.com/users/laurentluce/following{/other_user}","gists_url":"https://api.github.com/users/laurentluce/gists{/gist_id}","starred_url":"https://api.github.com/users/laurentluce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurentluce/subscriptions","organizations_url":"https://api.github.com/users/laurentluce/orgs","repos_url":"https://api.github.com/users/laurentluce/repos","events_url":"https://api.github.com/users/laurentluce/events{/privacy}","received_events_url":"https://api.github.com/users/laurentluce/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-web-stomp/labels/enhancement","name":"enhancement","color":"009800"}],"state":"closed","locked":false,"assignee":{"login":"essen","id":141739,"avatar_url":"https://avatars.githubusercontent.com/u/141739?v=3","gravatar_id":"","url":"https://api.github.com/users/essen","html_url":"https://github.com/essen","followers_url":"https://api.github.com/users/essen/followers","following_url":"https://api.github.com/users/essen/following{/other_user}","gists_url":"https://api.github.com/users/essen/gists{/gist_id}","starred_url":"https://api.github.com/users/essen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/essen/subscriptions","organizations_url":"https://api.github.com/users/essen/orgs","repos_url":"https://api.github.com/users/essen/repos","events_url":"https://api.github.com/users/essen/events{/privacy}","received_events_url":"https://api.github.com/users/essen/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-web-stomp/milestones/14","html_url":"https://github.com/rabbitmq/rabbitmq-web-stomp/milestones/3.6.2","labels_url":"https://api.github.com/repos/rabbitmq/rabbitmq-web-stomp/milestones/14/labels","id":1593209,"number":14,"title":"3.6.2","description":null,"creator":{"login":"dumbbell","id":159804,"avatar_url":"https://avatars.githubusercontent.com/u/159804?v=3","gravatar_id":"","url":"https://api.github.com/users/dumbbell","html_url":"https://github.com/dumbbell","followers_url":"https://api.github.com/users/dumbbell/followers","following_url":"https://api.github.com/users/dumbbell/following{/other_user}","gists_url":"https://api.github.com/users/dumbbell/gists{/gist_id}","starred_url":"https://api.github.com/users/dumbbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dumbbell/subscriptions","organizations_url":"https://api.github.com/users/dumbbell/orgs","repos_url":"https://api.github.com/users/dumbbell/repos","events_url":"https://api.github.com/users/dumbbell/events{/privacy}","received_events_url":"https://api.github.com/users/dumbbell/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":3,"state":"open","created_at":"2016-02-19T14:32:08Z","updated_at":"2016-03-31T09:09:33Z","due_on":null,"closed_at":null},"comments":21,"created_at":"2016-02-01T23:31:45Z","updated_at":"2016-05-07T06:49:42Z","closed_at":"2016-03-29T22:51:18Z","body":"This is a follow-up on #42.  Similar to the plugin using the client cert DN/CN as the username, could we use the username/password from the HTTP authorization header?  In case of web-stomp, it would overwrite the username/password from the connect message.  This would allow a proxy sitting between the client and the broker to set those values."},"comment":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-web-stomp/issues/comments/217611933","html_url":"https://github.com/rabbitmq/rabbitmq-web-stomp/issues/43#issuecomment-217611933","issue_url":"https://api.github.com/repos/rabbitmq/rabbitmq-web-stomp/issues/43","id":217611933,"user":{"login":"essen","id":141739,"avatar_url":"https://avatars.githubusercontent.com/u/141739?v=3","gravatar_id":"","url":"https://api.github.com/users/essen","html_url":"https://github.com/essen","followers_url":"https://api.github.com/users/essen/followers","following_url":"https://api.github.com/users/essen/following{/other_user}","gists_url":"https://api.github.com/users/essen/gists{/gist_id}","starred_url":"https://api.github.com/users/essen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/essen/subscriptions","organizations_url":"https://api.github.com/users/essen/orgs","repos_url":"https://api.github.com/users/essen/repos","events_url":"https://api.github.com/users/essen/events{/privacy}","received_events_url":"https://api.github.com/users/essen/received_events","type":"User","site_admin":false},"created_at":"2016-05-07T06:49:42Z","updated_at":"2016-05-07T06:49:42Z","body":"The way it's been done is that use_http_auth expects credentials to be sent in authorization header (CONNECT credentials are always ignored). The behavior is otherwise the same, in that if there's no such header the default credentials are used (and anything in CONNECT is still ignored).\r\n\r\nIf something like \"authorization; or else connect; or else default\" is desirable then this needs more work, because right now it's not what it does."}}