Authenticate to Jupyterhub using header REMOTE_USER
This package can be installed with pip:
pip install jupyterhub-remote-user-authenticator-v2
You should edit your :file:jupyterhub_config.py
to set the authenticator class, the RemoteUserLocalAuthenticator provides features such as local user creation. If you already have local users then you may use the RemoteUserAuthenticator authenticator class:
c.JupyterHub.authenticator_class = 'remote_user_authenticator.RemoteUserLocalAuthenticator'
This class is derived from LocalAuthenticator and therefore provides features such as the ability to add local accounts through the admin interface if configured to do so.
c.JupyterHub.authenticator_class = 'remote_user_authenticator.RemoteUserAuthenticator'
# Header with username
c.RemoteUserAuthenticator.header_name = 'REMOTE_USER'
You should be able to start jupyterhub. :)
If you have any issues or bug reports, all are welcome in the issues section. I'll do my best to respond quickly.
If you want to fix the bugs yourself then raise a PR and I'll take a look :)