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.3.3.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

fabricauthenticator-1.3.3-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fabricauthenticator-1.3.3.tar.gz
Algorithm Hash digest
SHA256 cfe76f50eb12d041c9261bad639ba65243e78ef9913bd692f659de74f8604813
MD5 4fafbfed52dc5d22fc3c51bb35948f3d
BLAKE2b-256 0a28bb8bfc9b7814e707fa60f601d4aa8bff452a005d559fb99349fff94767d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricauthenticator-1.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c8746ad32015413e0accfea24de37ec607d1ef185a48f570f26b3d5515ce0456
MD5 9b4134c3abcaefc133e58f44cecfb3a7
BLAKE2b-256 2fc6336dae14ce30caf3c5d0734da59f7969c14d9f0f48b20488a5c3bf7e5019

See more details on using hashes here.

Supported by

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