A JupyterLab extension for authentication.
Project description
jupyverse-auth
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:
- Application name: JupyterLab
- Homepage URL: http://127.0.0.1:8000/lab
- Authorization callback URL: http://127.0.0.1:8000/auth/github/callback
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"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file jupyverse-auth-0.1.0.tar.gz
.
File metadata
- Download URL: jupyverse-auth-0.1.0.tar.gz
- Upload date:
- Size: 174.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/0.0.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4dd926b400e26b5cc5fbfdb4d45ef7cfe5b4b875f8ab3f479523f87fb88cbe3c |
|
MD5 | 3f499a34d569d30d775e51738ae70e36 |
|
BLAKE2b-256 | 544a74e956f248c55521471dbd74bd8bd3c422ad044e2365d83002e756398cf0 |
File details
Details for the file jupyverse_auth-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: jupyverse_auth-0.1.0-py3-none-any.whl
- Upload date:
- Size: 130.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/0.0.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 648d2889220ec90ce30989ee633ed4543ea5813864481d693fbf4a2b93f0f02f |
|
MD5 | 0b8ef32012a4e9a0f3e1b37f07013f0b |
|
BLAKE2b-256 | 843de7a0ab891e3d8932bdc70c2692ac169b7405b51689c2f30163ac2a1822cc |