Skip to content

Logging in with Username and API token

Don Jayamanne edited this page Sep 19, 2023 · 1 revision

Sometimes logging into JupyterHub in VS Code is not possible with username and password.
For instance the JupyterHub server could be configured to support different Auth Providers, which are not supported by VS Code.

In such cases we recommend creating an API token as follows:

  • Log into JupyterHub in the browser
  • Go to the Hub Control Panel
    • Click the File menu
    • Click the Hub Control Panel menu item

hubPanel

  • From the Hub Control Pane page, click the Token item towards the middle of the page.
  • Click the button Request new API token
  • Copy the token
  • Use this token as the password when attempting to log into JupyterHub in the extension.

Screenshot 2023-09-19 at 12 12 26

Clone this wiki locally