{"action":"created","issue":{"url":"https://api.github.com/repos/thoughtbot/capybara-webkit/issues/882","repository_url":"https://api.github.com/repos/thoughtbot/capybara-webkit","labels_url":"https://api.github.com/repos/thoughtbot/capybara-webkit/issues/882/labels{/name}","comments_url":"https://api.github.com/repos/thoughtbot/capybara-webkit/issues/882/comments","events_url":"https://api.github.com/repos/thoughtbot/capybara-webkit/issues/882/events","html_url":"https://github.com/thoughtbot/capybara-webkit/issues/882","id":137557942,"number":882,"title":"Proxy Authentication using NTLM/Kerberos","user":{"login":"dg-ratiodata","id":1267524,"avatar_url":"https://avatars.githubusercontent.com/u/1267524?v=3","gravatar_id":"","url":"https://api.github.com/users/dg-ratiodata","html_url":"https://github.com/dg-ratiodata","followers_url":"https://api.github.com/users/dg-ratiodata/followers","following_url":"https://api.github.com/users/dg-ratiodata/following{/other_user}","gists_url":"https://api.github.com/users/dg-ratiodata/gists{/gist_id}","starred_url":"https://api.github.com/users/dg-ratiodata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dg-ratiodata/subscriptions","organizations_url":"https://api.github.com/users/dg-ratiodata/orgs","repos_url":"https://api.github.com/users/dg-ratiodata/repos","events_url":"https://api.github.com/users/dg-ratiodata/events{/privacy}","received_events_url":"https://api.github.com/users/dg-ratiodata/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-03-01T12:19:03Z","updated_at":"2016-03-14T12:29:29Z","closed_at":"2016-03-01T19:40:07Z","body":"Hi @jferris,\r\n\r\nI'm using  `capybara` (2.6.2) and `capybara-webkit` (1.8.0) to build an `rspec`-extension called [`proxy_rb`](https://github.com/fedux-org/proxy_rb) to do TDD of our HTTP proxy environments. Setting the proxy works fine. Authentication against proxies using the `BASIC`-scheme works fine as well.\r\n\r\nBUT:\r\nIn one of our testing environments we experiment with `BASIC`-, `NTLM`- and `KERBEROS`-authentication.\r\n\r\n1. Client sends request without any credentials\r\n2. Proxy answers with 407 Authentication required\r\n\r\n  This response contains 3 realms which is allowed and therefor ok. The client can choose the realm it want to authenticate against:\r\n  1. Basic\r\n  2. NTLM\r\n  3. Kerberos\r\n\r\n  `capybara-webkit` chooses `NTLM` or `Kerberos` out of those. Unfortunately this fails as I run the test on a machine which is not part of the test windows domain.\r\n\r\nI tried both Qt 4 and Qt 5.5.1. There's *no* change in behaviour.\r\n\r\nWISHES:\r\n\r\n1. It would be great, if I could configure `capybara-webkit` to always use the `BASIC`-scheme\r\n2. It would be great, if `NTLM`-/Kerberos would work out of the box.\r\n\r\n   Though I'm not sure, what is required to make this work with `ruby` + `capybara` + `capybara-webkit` on a Linux OS. Any hints about how to make it work are welcome\r\n\r\nCheers,\r\nDennis\r\n"},"comment":{"url":"https://api.github.com/repos/thoughtbot/capybara-webkit/issues/comments/196290553","html_url":"https://github.com/thoughtbot/capybara-webkit/issues/882#issuecomment-196290553","issue_url":"https://api.github.com/repos/thoughtbot/capybara-webkit/issues/882","id":196290553,"user":{"login":"dg-ratiodata","id":1267524,"avatar_url":"https://avatars.githubusercontent.com/u/1267524?v=3","gravatar_id":"","url":"https://api.github.com/users/dg-ratiodata","html_url":"https://github.com/dg-ratiodata","followers_url":"https://api.github.com/users/dg-ratiodata/followers","following_url":"https://api.github.com/users/dg-ratiodata/following{/other_user}","gists_url":"https://api.github.com/users/dg-ratiodata/gists{/gist_id}","starred_url":"https://api.github.com/users/dg-ratiodata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dg-ratiodata/subscriptions","organizations_url":"https://api.github.com/users/dg-ratiodata/orgs","repos_url":"https://api.github.com/users/dg-ratiodata/repos","events_url":"https://api.github.com/users/dg-ratiodata/events{/privacy}","received_events_url":"https://api.github.com/users/dg-ratiodata/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T12:29:29Z","updated_at":"2016-03-14T12:29:29Z","body":"Do you think doing NTLM/Kerberos with Chromium Embedded Framework will work out of the box is more configurable? That would be great at least if the user can choose the REALM or authentication mechanism the authenticator will use."}}