payload: {"action":"created","issue":{"url":"https://api.github.com/repos/openhab/openhab-ios/issues/206","repository_url":"https://api.github.com/repos/openhab/openhab-ios","labels_url":"https://api.github.com/repos/openhab/openhab-ios/issues/206/labels{/name}","comments_url":"https://api.github.com/repos/openhab/openhab-ios/issues/206/comments","events_url":"https://api.github.com/repos/openhab/openhab-ios/issues/206/events","html_url":"https://github.com/openhab/openhab-ios/issues/206","id":413805127,"node_id":"MDU6SXNzdWU0MTM4MDUxMjc=","number":206,"title":"Username and password authentication does not work correctly","user":{"login":"igitti","id":7568161,"node_id":"MDQ6VXNlcjc1NjgxNjE=","avatar_url":"https://avatars2.githubusercontent.com/u/7568161?v=4","gravatar_id":"","url":"https://api.github.com/users/igitti","html_url":"https://github.com/igitti","followers_url":"https://api.github.com/users/igitti/followers","following_url":"https://api.github.com/users/igitti/following{/other_user}","gists_url":"https://api.github.com/users/igitti/gists{/gist_id}","starred_url":"https://api.github.com/users/igitti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igitti/subscriptions","organizations_url":"https://api.github.com/users/igitti/orgs","repos_url":"https://api.github.com/users/igitti/repos","events_url":"https://api.github.com/users/igitti/events{/privacy}","received_events_url":"https://api.github.com/users/igitti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2019-02-24T10:12:20Z","updated_at":"2019-07-09T07:43:18Z","closed_at":null,"author_association":"NONE","body":"Hello openhab-ios developers,\r\n\r\nif the app (tested with version 2.0.3) is supposed to connect to an openHAB instance with authentication, it doesn't work since there are requests without (or wrong) authentication.\r\nAuthentication is realized by an upstream connected reverse proxy with basic authentication as described here: [https://www.openhab.org/docs/installation/security.html](https://www.openhab.org/docs/installation/security.html)\r\n\r\nWhen username and password are configured in the app they should be given to all requests that are sent to openHAB. But in the server side log you can see that obviously not all requests have an (appropriate) authentication header.\r\n````\r\n192.168.0.10 - SomeUser [24/Feb/2019:09:31:16 +0100] \"GET /rest/sitemaps HTTP/1.1\" 200 670 \"-\" \"openHAB/2.0.3.0 CFNetwork/976 Darwin/18.2.0\"\r\n192.168.0.10 - - [24/Feb/2019:09:31:46 +0100] \"GET /rest/bindings HTTP/1.1\" 403 3975 \"-\" \"openHAB/2.0.3.0 CFNetwork/976 Darwin/18.2.0\"\r\n````\r\nThe first request for `/rest/sitemaps` is sent with correct authentication and so responded correctly. (200)\r\nBut the second request for `/rest/bindings` is sent without or wrong authentication and so it is denied. (403)\r\nThe app shows a \"Connecting\" popup but nothing more happens.\r\n\r\nConfiguring the reverse proxy that access to `/rest/bindings` is granted at all makes the app work. But that is not how it should be.\r\nSo please let all requests carry the correct authentication header.\r\nThanks.\r\n\r\nFinding out the problem was discussed here\r\n[https://community.openhab.org/t/no-connection-with-ios-app/67283/20](https://community.openhab.org/t/no-connection-with-ios-app/67283/20)\r\n"},"comment":{"url":"https://api.github.com/repos/openhab/openhab-ios/issues/comments/509529548","html_url":"https://github.com/openhab/openhab-ios/issues/206#issuecomment-509529548","issue_url":"https://api.github.com/repos/openhab/openhab-ios/issues/206","id":509529548,"node_id":"MDEyOklzc3VlQ29tbWVudDUwOTUyOTU0OA==","user":{"login":"Clifford-Foster","id":6156158,"node_id":"MDQ6VXNlcjYxNTYxNTg=","avatar_url":"https://avatars0.githubusercontent.com/u/6156158?v=4","gravatar_id":"","url":"https://api.github.com/users/Clifford-Foster","html_url":"https://github.com/Clifford-Foster","followers_url":"https://api.github.com/users/Clifford-Foster/followers","following_url":"https://api.github.com/users/Clifford-Foster/following{/other_user}","gists_url":"https://api.github.com/users/Clifford-Foster/gists{/gist_id}","starred_url":"https://api.github.com/users/Clifford-Foster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Clifford-Foster/subscriptions","organizations_url":"https://api.github.com/users/Clifford-Foster/orgs","repos_url":"https://api.github.com/users/Clifford-Foster/repos","events_url":"https://api.github.com/users/Clifford-Foster/events{/privacy}","received_events_url":"https://api.github.com/users/Clifford-Foster/received_events","type":"User","site_admin":false},"created_at":"2019-07-09T07:43:18Z","updated_at":"2019-07-09T07:43:18Z","author_association":"NONE","body":"> Should be fixed in beta. Please try it out\r\n\r\nI tried this in Test Flight and still having problems with https connections.  Everything else works like a dream.\r\n\r\nInteresting the connections works fine using https://user:password@mydomain in Chrome but in Safari it still prompts for the username and password.  Don't know if that helps or is irrelevant."}}
other: {"actor":{"display_login":"Clifford-Foster"}}