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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fabricauthenticator-1.4.0b1.tar.gz
Algorithm Hash digest
SHA256 65f614cfdee0dacf531940efc6db9845e008d3101de1597c42031ca950422804
MD5 11f22e912a4d9c9e4326cdd9fda68f2e
BLAKE2b-256 f18230e59404e01368237061afefdf43fac807271aef2782ea0ea759b393b297

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricauthenticator-1.4.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 9a111cedb72a2bdaf4755bfbebb2e6c7512b1f910fce99a610fdd77e1a613b65
MD5 53f713ba368cc6568c6efb94afcdf043
BLAKE2b-256 e2a5330ab925511ea713c8bbfb4297cc987a41f584e2cd0d91c1ef9fce9ead3d

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