{"action":"created","issue":{"url":"https://api.github.com/repos/jupyterhub/jupyterlab-hub/issues/80","repository_url":"https://api.github.com/repos/jupyterhub/jupyterlab-hub","labels_url":"https://api.github.com/repos/jupyterhub/jupyterlab-hub/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/jupyterhub/jupyterlab-hub/issues/80/comments","events_url":"https://api.github.com/repos/jupyterhub/jupyterlab-hub/issues/80/events","html_url":"https://github.com/jupyterhub/jupyterlab-hub/issues/80","id":378352220,"node_id":"MDU6SXNzdWUzNzgzNTIyMjA=","number":80,"title":"Authentication in lab fails with jhub-remote-user-authenticator","user":{"login":"dennisverspuij","id":6680484,"node_id":"MDQ6VXNlcjY2ODA0ODQ=","avatar_url":"https://avatars1.githubusercontent.com/u/6680484?v=4","gravatar_id":"","url":"https://api.github.com/users/dennisverspuij","html_url":"https://github.com/dennisverspuij","followers_url":"https://api.github.com/users/dennisverspuij/followers","following_url":"https://api.github.com/users/dennisverspuij/following{/other_user}","gists_url":"https://api.github.com/users/dennisverspuij/gists{/gist_id}","starred_url":"https://api.github.com/users/dennisverspuij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennisverspuij/subscriptions","organizations_url":"https://api.github.com/users/dennisverspuij/orgs","repos_url":"https://api.github.com/users/dennisverspuij/repos","events_url":"https://api.github.com/users/dennisverspuij/events{/privacy}","received_events_url":"https://api.github.com/users/dennisverspuij/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-07T15:58:51Z","updated_at":"2018-11-08T13:06:53Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nI have a working setup of JupyterHub v0.9.4 with classic Jupyter notebook v5.7.0 through Apache 2.4 reverse proxy, with HTTP basic authentication passed through for automatic authentication by jhub_remote_user_authenticator.remote_user_auth.RemoteUserAuthenticator (from [jhub-remote-user-authenticator](https://pypi.org/project/jhub-remote-user-authenticator/) v0.1.0).\r\n\r\nI now added jupyterlab v0.35.4 (and this hub-extension) and switched the spawner command to jupyter-labhub, Initial authentication and spawning and redirection to /user/xxxx/lab succeeds and loads, but as of loading /user/xxxx/api/... stuff the basic auth prompt comes up again but fails me logging in. When I manually browse to /user/xxxx/tree and log in (basic auth prompt again) the classic environment works correctly as before.\r\n\r\nWhen I disable http basic auth and switch to using dummyauthenticator.DummyAuthenticator (from [jupyterhub-dummyauthenticator](https://pypi.org/project/jupyterhub-dummyauthenticator/) v0.3.1) the lab works fine. So it does not seem a problem with my installation, it seems more a problem of authentication passing from hub to the lab and maintaining the authentication.\r\n\r\nAny ideas on this? Let me know if you need more info. Thanks!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jupyterhub/jupyterlab-hub/issues/comments/436987524","html_url":"https://github.com/jupyterhub/jupyterlab-hub/issues/80#issuecomment-436987524","issue_url":"https://api.github.com/repos/jupyterhub/jupyterlab-hub/issues/80","id":436987524,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjk4NzUyNA==","user":{"login":"dennisverspuij","id":6680484,"node_id":"MDQ6VXNlcjY2ODA0ODQ=","avatar_url":"https://avatars1.githubusercontent.com/u/6680484?v=4","gravatar_id":"","url":"https://api.github.com/users/dennisverspuij","html_url":"https://github.com/dennisverspuij","followers_url":"https://api.github.com/users/dennisverspuij/followers","following_url":"https://api.github.com/users/dennisverspuij/following{/other_user}","gists_url":"https://api.github.com/users/dennisverspuij/gists{/gist_id}","starred_url":"https://api.github.com/users/dennisverspuij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennisverspuij/subscriptions","organizations_url":"https://api.github.com/users/dennisverspuij/orgs","repos_url":"https://api.github.com/users/dennisverspuij/repos","events_url":"https://api.github.com/users/dennisverspuij/events{/privacy}","received_events_url":"https://api.github.com/users/dennisverspuij/received_events","type":"User","site_admin":false},"created_at":"2018-11-08T13:06:53Z","updated_at":"2018-11-08T13:06:53Z","author_association":"NONE","body":"When I use spawner jupyterhub-singleuser and visit /user/xxxx/lab after visiting /user/xxxx/tree the lab works fine (except for hub extensions not available). I inspected the invocations, both done with similar environment and arguments, except for the command of course."}}
{"actor":{"display_login":"dennisverspuij"}}