OAuthenticator: Authenticate JupyterHub users with common OAuth providers
Project description
OAuth + JupyterHub Authenticator = OAuthenticator :heart:
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, 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:
$ pip install --upgrade --pre -r test-requirements.txt
$ pytest -v ./oauthenticator/tests/
Or you run a specific test file with:
$ pytest -v ./oauthenticator/tests/<test-file-name>
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
Built Distribution
Hashes for oauthenticator-0.12.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c909f072c6720fba560f8a1dd7a70ff578d9165e846135f57efbfb2dd168f58e |
|
MD5 | 9cfa9470a1087ec5a4cf5054af15ea64 |
|
BLAKE2b-256 | a04b8142655fa48b76e2ef98ecfa54faacd438d692af5fb4a00e44929fec4a50 |