-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JupyterHub with username/password #14367
Comments
The same as what? My windows username does not work. |
Looks like Jupyterhub doesn't work on windows,
The same as your standard windows user name. |
@amunger perhaps you can try codespaces, see Joyces comment here #14202 (comment) |
I couldn't validate this in web--I started a JupyterHub server on a codespace and made the port public, but JupyterHub in web throws a CORS error when connecting to this URL. IMHO this scenario should work:
I was able to test this "locally" by running a JupyterHub server on a codespace and forwarding the port privately |
I can get it working on macOS. The setting I use to launch jupyter hub is as below, so I was able to use user name c.JupyterHub.authenticator_class = "dummy"
c.DummyAuthenticator.password = "pwd" # Feel free to change the default password
c.Spawner.args = ['--NotebookApp.allow_origin=*']
c.Spawner.default_url = '/lab'
from jupyterhub.spawner import SimpleLocalProcessSpawner
c.JupyterHub.spawner_class = SimpleLocalProcessSpawner |
WSL did not work, but I was able to use the same technique as Joyce. |
Thanks for that comment @amunger , I found the reason why you'd have to do that, created an issue to try and address that at least in desktop (for vscode.dev there's nothing we can do about it) |
Refs: #13973
Complexity: 5
Authors: @DonJayamanne
Create Issue
Pre-Requisites
Install and launch Jupyter Hub
https://jupyterhub.readthedocs.io/en/1.2.0/installation-guide-hard.html
jupyterhub_config.py
and paste the below contents into that filepython -m pip install jupyterlab jupyterhub
configurable-http-proxy
globally via the clinpm i -g configurable-http-proxy
jupyterhub
(ensuring the cwd in the terminal is the same folder in step 1 and your virtual env is in the same folder under.venv
)http://localhost:8000
Note:
Steps to test
Existing JupyterHub Server...
http://localhost:8000
(that shouldbe all)pwd
)Note: Remember to use the same user name (else it will not work, these are things to be ironed out later)
The text was updated successfully, but these errors were encountered: