{"action":"created","issue":{"url":"https://api.github.com/repos/sdelements/lets-chat/issues/293","labels_url":"https://api.github.com/repos/sdelements/lets-chat/issues/293/labels{/name}","comments_url":"https://api.github.com/repos/sdelements/lets-chat/issues/293/comments","events_url":"https://api.github.com/repos/sdelements/lets-chat/issues/293/events","html_url":"https://github.com/sdelements/lets-chat/pull/293","id":58455505,"number":293,"title":"Include headers in authentication methods ","user":{"login":"Schniz","id":2054772,"avatar_url":"https://avatars.githubusercontent.com/u/2054772?v=3","gravatar_id":"","url":"https://api.github.com/users/Schniz","html_url":"https://github.com/Schniz","followers_url":"https://api.github.com/users/Schniz/followers","following_url":"https://api.github.com/users/Schniz/following{/other_user}","gists_url":"https://api.github.com/users/Schniz/gists{/gist_id}","starred_url":"https://api.github.com/users/Schniz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Schniz/subscriptions","organizations_url":"https://api.github.com/users/Schniz/orgs","repos_url":"https://api.github.com/users/Schniz/repos","events_url":"https://api.github.com/users/Schniz/events{/privacy}","received_events_url":"https://api.github.com/users/Schniz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-02-21T11:03:35Z","updated_at":"2015-02-23T13:16:46Z","closed_at":"2015-02-22T19:25:15Z","pull_request":{"url":"https://api.github.com/repos/sdelements/lets-chat/pulls/293","html_url":"https://github.com/sdelements/lets-chat/pull/293","diff_url":"https://github.com/sdelements/lets-chat/pull/293.diff","patch_url":"https://github.com/sdelements/lets-chat/pull/293.patch"},"body":"used for [lets-chat-reverseproxy](https://github.com/Schniz/lets-chat-reverseproxy)\r\n\r\nthere are some organizations that use Kerberos or some authentication via SSO headers (`REMOTE_USER`, `X-Remote-User` and so on).\r\nthe `passport-reverseproxy` came to the rescue, but the `req` object in `app/auth/index.js` only sends the `user` and `password`. for `reverseproxy` it should also send the `headers` so we could authenticate the user.\r\n\r\nplus, if we will make it happen, users won't have to actively sign in in organizations with SSO headers. auto login for the win.\r\nbut the auto login is not implemented here yet.\r\nmaybe the app should let the plugins to authenticate automatically the users?"},"comment":{"url":"https://api.github.com/repos/sdelements/lets-chat/issues/comments/75538900","html_url":"https://github.com/sdelements/lets-chat/pull/293#issuecomment-75538900","issue_url":"https://api.github.com/repos/sdelements/lets-chat/issues/293","id":75538900,"user":{"login":"Schniz","id":2054772,"avatar_url":"https://avatars.githubusercontent.com/u/2054772?v=3","gravatar_id":"","url":"https://api.github.com/users/Schniz","html_url":"https://github.com/Schniz","followers_url":"https://api.github.com/users/Schniz/followers","following_url":"https://api.github.com/users/Schniz/following{/other_user}","gists_url":"https://api.github.com/users/Schniz/gists{/gist_id}","starred_url":"https://api.github.com/users/Schniz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Schniz/subscriptions","organizations_url":"https://api.github.com/users/Schniz/orgs","repos_url":"https://api.github.com/users/Schniz/repos","events_url":"https://api.github.com/users/Schniz/events{/privacy}","received_events_url":"https://api.github.com/users/Schniz/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T13:16:46Z","updated_at":"2015-02-23T13:16:46Z","body":":+1:  I'll test it this week\r\nthanks for the inputs!\r\n\r\nXMPP does not have headers? which XMPP client you guys use to test the app?"}}