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

Uploaded Source

Built Distribution

oauthenticator-16.0.5-py3-none-any.whl (74.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for oauthenticator-16.0.5.tar.gz
Algorithm Hash digest
SHA256 75d0aaafaa88232537110ea9da2f94e85df9f63de1719ec4d97f2a6de533d9ef
MD5 6de16ee68d5aacb8bbd5676201cd2673
BLAKE2b-256 101ec8257f2e69ece3faaa41aff937b4ef94916ab49dda3807f3b4c47db541e1

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for oauthenticator-16.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5734cdcd09d98aa87601a4e42320cb3db42f6a130f2cd013cf22b91d20aeae5f
MD5 420571d9242a4f592cd70f3a4bac05c7
BLAKE2b-256 422f561033136e3cddd20000cae075ac35607d809e1dbd09e3ae981cfc18831c

See more details on using hashes here.

Provenance

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