Skip to main content

Pass-through authentication for jupyterhub, enabling direct access to the session of a particular locked down user.

Project description

jupyterhub-passthroughauth

Pass-through authentication for jupyterhub, enabling direct access to the session of a particular locked down user.

The plugin (if installed and configured) could disable the standard form-based authentication of jupyterhub and provides direct access to the session from a particular user specified via config. Think of this as a jupyterhub-singleuser functionality on a standard jupyterhub without the requirement of using tokens or passwords to gain access. This kind of module is very useful if you like to provide guest access to your jupyterhub from a particular user or continue to use the standard PAM authentication just by flipping a switch in the config

Installation

  • pip(3) install jupyterhub-passthroughauth

Configuration

  • jupyterhub_config.py
c.JupyterHub.authenticator_class = 'passthroughauth.PassThroughAuthenticator'
c.PassThroughAuthenticator.guest_user = 'ubuntu'
c.Authenticator.auto_login = True # Disables PAM login completely, use False otherwise

Access

If the regular path / is accessed:

  • Login page will be displayed if auto_login flag is set to False
  • Guest session page will be displayed if auto_login flag is set to True

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for jupyterhub-passthroughauth, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size jupyterhub_passthroughauth-0.0.1-py3-none-any.whl (3.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size jupyterhub-passthroughauth-0.0.1.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page