jupyverse-auth

A JupyterLab extension for authentication.

Usage no npm install needed!

<script type="module">
  import jupyverseAuth from 'https://cdn.skypack.dev/jupyverse-auth';
</script>

README

jupyverse-auth

Github Actions Status

A JupyterLab extension for authentication.

This extension is composed of a Python package named jupyverse-auth for the server extension and a NPM package named jupyverse-auth for the frontend extension.

Install

To install the extension, execute:

mamba create -n jupyverse-auth-dev
conda activate jupyverse-auth-dev
mamba install pip nodejs

pip install -e .
jupyter labextension develop . --overwrite
jlpm
jlpm run build

Authentication with GitHub

You will need to authorize JupyterLab to access your GitHub information. You can register a new OAuth application here:

127.0.0.1 and 8000 are the IP and port number, respectively. You might have to change them according to your particular setup.

This will generate a client ID for you, and you must also generate a client secret.

When launching jupyverse, you must pass the client ID and secret:

jupyverse --config=path/to/config.toml

Where config.toml looks like this:

[authenticator]
client_id = "your_client_id"
client_secret = "your_client_secret"