NullAuthenticator was moved to JupyterHub Core in version 2.0.0. You can migrate to it by setting:
c.JupyterHub.authenticator_class = "null"
Null Authenticator for JupyterHub instances that should have no login mechanism, such as those that exclusively allow access via API token.
As prerequisites, Python 3.4+ and JupyterHub 0.8.0+ are required to use Null Authenticator.
To install nullauthenticator
, enter in a terminal:
python3 -m pip install nullauthenticator
Enable null authenticator in jupyterhub_config.py
:
c.JupyterHub.authenticator_class = 'nullauthenticator.NullAuthenticator'
The examples
directory of this repo demonstrates a token-only example
with Null Authenticator which uses external user creation and authentication.