oauthenticator is a package available on PyPI and conda forge and can be installed using pip, conda or cloning the repository.
Install with pip:
python3 -m pip install oauthenticator
Install with conda:
conda install -c conda-forge oauthenticator
Dev install:
git clone https://github.com/jupyterhub/oauthenticator.git cd oauthenticator pip3 install -e .