Metadata-Version: 2.1
Name: fabricauthenticator
Version: 0.0.2.4
Summary: Fabric Authenticator for Jupyterhub
Home-page: https://github.com/fabric-testbed/fabricauthenticator
Author: Erica Fu, Komal Thareja
Author-email: ericafu@renci.org, kthare10@renci.org
License: UNKNOWN
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:
        If using Fabric CI Logon Authenticator
        
        ```
           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 Fabric Vouch Proxy Authenticator
        ```
        c.JupyterHub.authenticator_class = 'fabricauthenticator.vouch_proxy_authenticator.VouchProxyAuthenticator'
        ```
        
        ### if using KubeSpawner
        
        in config.yaml:
        If using Fabric CI Logon Authenticator
        ```
        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
        ```
        If using Fabric Vouch Proxy Authenticator
        ```
        hub:
          extraConfig:
            authconfig: |
              c.Authenticator.enable_auth_state = True
        auth:
          type: custom
          custom:
              className: fabricauthenticator.vouch_proxy_authenticator.VouchProxyAuthenticator
        ```
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
