Authenticate to Jupyterhub using a query parameter for the JSONWebToken, or by an authenticating proxy that can set the Authorization header with the content of a JSONWebToken.
This is a fork from the github repo with some changes. Admin status is now derived from the user's roles defined in the token - specifically the 'katana-admin' role.
clone this repository and run:
cd jwtauthenticator
pip install -e .
A jupyterhub config file jupyterhub_config.py
which sets the necessary values can be found in this fork - for more details on the different attributes and options look at the original repo's ReadMe.
JupyerHub can be run locally using this file by calling
jupyterhub -f path/to/repo/jupyterhub_config.py