I'm trying to use the MS VS Code Python extension to log into a remote JupyterHub server according to these docs, which say to provide the ?token= parameter in the URI: https://code.visualstudio.com/docs/python/jupyter-support
However, the server I'm trying to log into is password protected - I don't really have control over removing the password protection. The Jupyter docs suggest looking for the token in the jupyter logs, but it looks to me like using password protection suppresses the token from the logs, too: https://jupyter-notebook.readthedocs.io/en/latest/security.html#security-in-the-jupyter-notebook-server
Am I missing something? Is it not possible to use the VS Code extension to log in to a password-protected notebook server?
Currently this is not supported, we only support connecting via the token. We know that this is not optimal for many users, but as of now the only way to enter in the password and authenticate the session is via the actual login HTML page that you see in the browser when you try to connect to a password protected Jupyter. So we don't yet have a way to automate that inside of VSCode. We're looking at adding support for this, but we will probably need changes from the Jupyter side to support this so it won't be in the immediate future.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With