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.0.tar.gz (7.2 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.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fabricauthenticator-1.4.0.tar.gz
Algorithm Hash digest
SHA256 3ac16e8f441489d62f3a874ed820d79b0c6f0b96da802649ba97d743c26670e9
MD5 f9f6b97576c956af18cedd43c3100f68
BLAKE2b-256 dd336161b81e0e49fbd068a780c43c328df8910421c823a290edcf09f4988608

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricauthenticator-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cad28a5936a493af920a90ce4744f37dbe0c1a601d369bccef9c227bf30cc6c4
MD5 89725c7d8f3f6e6f7f1fff4a27f85625
BLAKE2b-256 c967c637c1b9b4938eb380ff9d1d2454ac329093cd9e8d434fe7e2c5c1c2c722

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