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
Release files for jupyterhub-passthroughauth 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jupyterhub-passthroughauth-0.0.1.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jupyterhub_passthroughauth-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.2 kB
Release files / jupyterhub-passthroughauth-0.0.1.tar.gz
| Download URL | jupyterhub-passthroughauth-0.0.1.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a05def531ea2948f2013c4c26542524ce6386c622a9ecd50b66c20d55bf41730
|
|
BLAKE2b-256 checksum How to use checksums |
9403a024b42caf0551f5ad8c73cb48c08c21abd80754e8d47682bf6678912394
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / jupyterhub_passthroughauth-0.0.1-py3-none-any.whl
| Download URL | jupyterhub_passthroughauth-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9b8a0aa14287a11216bcf504c3c987019694efc59035123ee68807c07733df14
|
|
BLAKE2b-256 checksum How to use checksums |
ee1f682ef12517835f96d1e07661919a90eea65d4a07ec243773a16827edfdba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|