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, Okpy, 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-16.0.1.tar.gz (52.8 kB view details)

Uploaded Source

Built Distribution

oauthenticator-16.0.1-py3-none-any.whl (73.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: oauthenticator-16.0.1.tar.gz
  • Upload date:
  • Size: 52.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for oauthenticator-16.0.1.tar.gz
Algorithm Hash digest
SHA256 da7c1614bd632dc7b2dfe4fbef6f568a9c0f4b20919d7cfb711e0050c9ef7c8e
MD5 e249578371f635d5fb5770bbeda74689
BLAKE2b-256 a625c4575226f8e40ba439b0c75caa72bd7d66fa16acfdf425457f45015d36e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oauthenticator-16.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 501ae65af601baa3131eeed6d9fdf774f7ec4b85ce6e5d182032b40b527026b1
MD5 1216adf8da8a640b6145df9910bb22cb
BLAKE2b-256 974d1a175f78a83781c7bc0162d5f74238f2500626f5289f10b0c0395bec3dc3

See more details on using hashes here.

Supported by

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