Skip to main content

OAuthenticator: Authenticate JupyterHub users with common OAuth providers

Project description

OAuth + JupyterHub Authenticator = OAuthenticator :heart:

Documentation build status GitHub Workflow Status - Test Latest PyPI version Latest conda-forge version GitHub Discourse Gitter

OAuth is a token based login mechanism that doesn't rely on a username and password mapping. In order to use this login mechanism with JupyerHub the login handlers need to be overridden. OAuthenticator overrides these handlers for the common OAuth2 identity providers allowing them to be plugged in and used with JupyterHub.

The following authentication services are supported through their own authenticator: Auth0, Azure AD, Bitbucket, CILogon, FeiShu, GitHub, GitLab, Globus, Google, MediaWiki, OpenShift.

There is also a GenericAuthenticator that can be configured with any OAuth 2.0 identity provider or can be used to create a new authenticator class when additional customization is needed.

Installation

The installation guide can be found in the docs.

The docs also provide example setups for different OAuth2 identity providers.

Running tests

To run the tests locally, first setup a development environment as described in CONTRIBUTING.md, and then do:

pytest -v ./oauthenticator/tests/

Or you run a specific test file with:

pytest -v ./oauthenticator/tests/<test-file-name>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oauthenticator-17.3.0.tar.gz (65.2 kB view details)

Uploaded Source

Built Distribution

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

oauthenticator-17.3.0-py3-none-any.whl (85.1 kB view details)

Uploaded Python 3

File details

Details for the file oauthenticator-17.3.0.tar.gz.

File metadata

  • Download URL: oauthenticator-17.3.0.tar.gz
  • Upload date:
  • Size: 65.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for oauthenticator-17.3.0.tar.gz
Algorithm Hash digest
SHA256 e5d90cb2411fff3dc6fcc1633468233c0e0e0239422c087c7734d1685055b8f3
MD5 6344bcc3f7d8610253ee027a16f5edb9
BLAKE2b-256 ae99883f6e226bd61922e7161032c413adcdbd0b4f397f9e7539b9c78af97872

See more details on using hashes here.

Provenance

The following attestation bundles were made for oauthenticator-17.3.0.tar.gz:

Publisher: release.yaml on jupyterhub/oauthenticator

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file oauthenticator-17.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for oauthenticator-17.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1aaa7e21996bb6d53d303ac5362cc26a40812c0dbb722e7bffa24edd813390a1
MD5 2bffa0a1d2d8be44b6874fe42443254c
BLAKE2b-256 0c2fdc98e8e023dfbebe88e8725470d13565f61f3a5ef6835f330ad6a1d0b1e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for oauthenticator-17.3.0-py3-none-any.whl:

Publisher: release.yaml on jupyterhub/oauthenticator

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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