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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file jupyterhub-passthroughauth-0.0.1.tar.gz
.
File metadata
- Download URL: jupyterhub-passthroughauth-0.0.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a05def531ea2948f2013c4c26542524ce6386c622a9ecd50b66c20d55bf41730 |
|
MD5 | 43e714d3c406833cb61d00bfe275dcb5 |
|
BLAKE2b-256 | 9403a024b42caf0551f5ad8c73cb48c08c21abd80754e8d47682bf6678912394 |
File details
Details for the file jupyterhub_passthroughauth-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: jupyterhub_passthroughauth-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b8a0aa14287a11216bcf504c3c987019694efc59035123ee68807c07733df14 |
|
MD5 | e803500b5e571d297531d9777718b8d1 |
|
BLAKE2b-256 | ee1f682ef12517835f96d1e07661919a90eea65d4a07ec243773a16827edfdba |