{"action":"created","issue":{"url":"https://api.github.com/repos/apache/zeppelin/issues/2377","repository_url":"https://api.github.com/repos/apache/zeppelin","labels_url":"https://api.github.com/repos/apache/zeppelin/issues/2377/labels{/name}","comments_url":"https://api.github.com/repos/apache/zeppelin/issues/2377/comments","events_url":"https://api.github.com/repos/apache/zeppelin/issues/2377/events","html_url":"https://github.com/apache/zeppelin/pull/2377","id":232175773,"number":2377,"title":"User does not land on Zeppelin UI Login page after clicking logout button when Zeppelin is running behind proxy server.","user":{"login":"prabhjyotsingh","id":674497,"avatar_url":"https://avatars3.githubusercontent.com/u/674497?v=3","gravatar_id":"","url":"https://api.github.com/users/prabhjyotsingh","html_url":"https://github.com/prabhjyotsingh","followers_url":"https://api.github.com/users/prabhjyotsingh/followers","following_url":"https://api.github.com/users/prabhjyotsingh/following{/other_user}","gists_url":"https://api.github.com/users/prabhjyotsingh/gists{/gist_id}","starred_url":"https://api.github.com/users/prabhjyotsingh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prabhjyotsingh/subscriptions","organizations_url":"https://api.github.com/users/prabhjyotsingh/orgs","repos_url":"https://api.github.com/users/prabhjyotsingh/repos","events_url":"https://api.github.com/users/prabhjyotsingh/events{/privacy}","received_events_url":"https://api.github.com/users/prabhjyotsingh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-05-30T08:19:09Z","updated_at":"2017-06-05T11:47:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/zeppelin/pulls/2377","html_url":"https://github.com/apache/zeppelin/pull/2377","diff_url":"https://github.com/apache/zeppelin/pull/2377.diff","patch_url":"https://github.com/apache/zeppelin/pull/2377.patch"},"body":"### What is this PR for?\r\nThe user is no more on Zeppelin UI Login page after clicking logout button or links where user doesn't have access to when Zeppelin is running behind a proxy server like Nginx.\r\n\r\n\r\n### What type of PR is it?\r\n[Bug Fix]\r\n\r\n### What is the Jira issue?\r\n* [ZEPPELIN-2601](https://issues.apache.org/jira/browse/ZEPPELIN-2601)\r\n\r\n### How should this be tested?\r\nSet up any reverse proxy server like Nginx, exmaple config below;\r\n\r\n```\r\nlocation /abc/def/zeppelin/ {\r\n        proxy_pass http://localhost:8080/;\r\n        proxy_http_version 1.1;\r\n        proxy_set_header Upgrade $http_upgrade;\r\n        proxy_set_header Connection \"upgrade\";\r\n}\r\n```\r\n\r\nAnd now from browser navigate to this URL, and click on any like for which user doesn't have access to. In my example `user1` did not have access to any of `/api/interpreter/**` `/api/configurations/**` and `/api/credential/**`\r\n\r\n### Screenshots (if appropriate)\r\n\r\nBefore:\r\n![before](https://cloud.githubusercontent.com/assets/674497/26574347/a204b064-453e-11e7-8799-2c5d38bca5ad.gif)\r\n\r\nAfter:\r\n![after](https://cloud.githubusercontent.com/assets/674497/26574348/a20f3412-453e-11e7-97bb-4ffb54c6e985.gif)\r\n\r\n\r\n### Questions:\r\n* Does the licenses files need update?\r\n* Is there breaking changes for older versions?\r\n* Does this needs documentation?\r\n"},"comment":{"url":"https://api.github.com/repos/apache/zeppelin/issues/comments/306168956","html_url":"https://github.com/apache/zeppelin/pull/2377#issuecomment-306168956","issue_url":"https://api.github.com/repos/apache/zeppelin/issues/2377","id":306168956,"user":{"login":"prabhjyotsingh","id":674497,"avatar_url":"https://avatars3.githubusercontent.com/u/674497?v=3","gravatar_id":"","url":"https://api.github.com/users/prabhjyotsingh","html_url":"https://github.com/prabhjyotsingh","followers_url":"https://api.github.com/users/prabhjyotsingh/followers","following_url":"https://api.github.com/users/prabhjyotsingh/following{/other_user}","gists_url":"https://api.github.com/users/prabhjyotsingh/gists{/gist_id}","starred_url":"https://api.github.com/users/prabhjyotsingh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prabhjyotsingh/subscriptions","organizations_url":"https://api.github.com/users/prabhjyotsingh/orgs","repos_url":"https://api.github.com/users/prabhjyotsingh/repos","events_url":"https://api.github.com/users/prabhjyotsingh/events{/privacy}","received_events_url":"https://api.github.com/users/prabhjyotsingh/received_events","type":"User","site_admin":false},"created_at":"2017-06-05T11:47:28Z","updated_at":"2017-06-05T11:47:28Z","body":"Merging this if no more discussion."}}
{"actor":{"display_login":"prabhjyotsingh"}}