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

Uploaded Source

Built Distribution

oauthenticator-16.2.0-py3-none-any.whl (75.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for oauthenticator-16.2.0.tar.gz
Algorithm Hash digest
SHA256 cf908515f54961e5da0c554f61a04e7d4333825f94be7dcb612e599f5007472d
MD5 e9c2ae7868b01e58286f92b651722a34
BLAKE2b-256 026e81b5319627a9f6fb450c3fff0b04c0491ab42425f6904b427e47470f7f19

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for oauthenticator-16.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c35013dae79a1f71afd6d2708b68fe79ee8c7244dabf80863724f1bbfaea3025
MD5 f65931485b85e567aac3242b73edd764
BLAKE2b-256 0c8f3d7b41ae5b257ca46b24cf7fc1268a1b872bcc76f5ea931ac04f0ca32909

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