Fabric Authenticator for Jupyterhub
The authenticator for Fabric Testbed Jupyterhub Based on CILogon authentication, in addition it checks if user belongs to Fabric JUPYTERHUB COU group
Usage
If using dockerspawner:
In jupyter_config.py:
import fabricauthenticator
c.JupyterHub.authenticator_class = 'fabricauthenticator.FabricAuthenticator'
c.Authenticator.enable_auth_state = True
# set the OIDC client info in following CILogon configuration
c.CILogonOAuthenticator.client_id = ""
c.CILogonOAuthenticator.client_secret = ""
c.CILogonOAuthenticator.oauth_callback_url = "<host>/hub/oauth_callback"
if using KubeSpawner
in config.yaml:
hub:
extraConfig:
authconfig: |
c.Authenticator.enable_auth_state = True
c.CILogonOAuthenticator.client_id = ""
c.CILogonOAuthenticator.client_secret = ""
c.CILogonOAuthenticator.oauth_callback_url = "<host>/hub/oauth_callback"
auth:
type: custom
custom:
className: fabricauthenticator.FabricAuthenticator
Release files for fabricauthenticator 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fabricauthenticator-1.4.0.tar.gz | 7.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fabricauthenticator-1.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.1 kB
Release files / fabricauthenticator-1.4.0.tar.gz
| Download URL | fabricauthenticator-1.4.0.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3ac16e8f441489d62f3a874ed820d79b0c6f0b96da802649ba97d743c26670e9
|
|
BLAKE2b-256 checksum How to use checksums |
dd336161b81e0e49fbd068a780c43c328df8910421c823a290edcf09f4988608
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.5
|
Release files / fabricauthenticator-1.4.0-py3-none-any.whl
| Download URL | fabricauthenticator-1.4.0-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cad28a5936a493af920a90ce4744f37dbe0c1a601d369bccef9c227bf30cc6c4
|
|
BLAKE2b-256 checksum How to use checksums |
c967c637c1b9b4938eb380ff9d1d2454ac329093cd9e8d434fe7e2c5c1c2c722
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.5
|