Skip to main content

Fabric OAuth Authenticator

Project description

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.4.0b0.tar.gz (6.7 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.4.0b0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file fabricauthenticator-1.4.0b0.tar.gz.

File metadata

  • Download URL: fabricauthenticator-1.4.0b0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.34.2

File hashes

Hashes for fabricauthenticator-1.4.0b0.tar.gz
Algorithm Hash digest
SHA256 72b733b082e761eb2ba3a0b563a53729af7fb617502fb1be8692c721c866812e
MD5 bb28d14e19bc138770693c00bd2f117a
BLAKE2b-256 419161003e05a690e04efaadd9bbb1ee4da3c36995bca49af58b7efc2e85db71

See more details on using hashes here.

File details

Details for the file fabricauthenticator-1.4.0b0-py3-none-any.whl.

File metadata

File hashes

Hashes for fabricauthenticator-1.4.0b0-py3-none-any.whl
Algorithm Hash digest
SHA256 24101c0aab38a35bc79fdb7d1f62e03b36c9c98a3d3058594110d218333f9d2b
MD5 47d17a3803d84bedc108133cee3d2208
BLAKE2b-256 116afe9b81c4549a0a30db10d1e030d6590cbf3f8b93b7088e5e39c509c2b885

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