Skip to main content

Fabric Authenticator for Jupyterhub

Project description

Requirements Status

PyPI

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

fabricauthenticator-1.1rc13.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fabricauthenticator-1.1rc13-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file fabricauthenticator-1.1rc13.tar.gz.

File metadata

  • Download URL: fabricauthenticator-1.1rc13.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.5 tqdm/4.54.1 importlib-metadata/3.7.3 keyring/21.5.0 rfc3986/1.4.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for fabricauthenticator-1.1rc13.tar.gz
Algorithm Hash digest
SHA256 c4fee6e72031a584f0f1cef430f52150070dfda3ca77907a8f641b3397e81ff5
MD5 452fcb97130b88670e7442bae0f467e0
BLAKE2b-256 d7961c50765ea7435983db3b1dad3da4c54e9fdcbb0c9513f70a1032a24c4311

See more details on using hashes here.

File details

Details for the file fabricauthenticator-1.1rc13-py3-none-any.whl.

File metadata

  • Download URL: fabricauthenticator-1.1rc13-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.5 tqdm/4.54.1 importlib-metadata/3.7.3 keyring/21.5.0 rfc3986/1.4.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for fabricauthenticator-1.1rc13-py3-none-any.whl
Algorithm Hash digest
SHA256 5f91b0bae17e66745017f7253360f87abcf68e26106ed3e41aa02ccf4eaf94ad
MD5 d8023182e84b3b5a1abf2c55a8f2af31
BLAKE2b-256 61350adf10dc1c5b24bef8505052fcfb3625038751f434c905d5b8eaa1f27f9d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page