Fabric OAuth Authenticator
Project description
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
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
Close
Hashes for fabricauthenticator-1.2rc1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d06dd671b2cff585df0d486c7f95f07d03281dae687f8588e288cbc11b281dab |
|
MD5 | 4e29b0220f668d08f76355c26f98fca6 |
|
BLAKE2b-256 | d1ba496a284a8f96039a6d5b67151c5d6e504c7be26e7c2ecfc6a7ecf565fda4 |
Close
Hashes for fabricauthenticator-1.2rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2295e79be8a63ec6a0defb92385e93515e60c2f5b20eb07283b68c3cfcae9939 |
|
MD5 | 2f907302058c99de8ff96589cdcb5930 |
|
BLAKE2b-256 | e3f65f439247f4486e9cb8cf3fbde3ae247bbe7b21007110c348ad75b35636cb |