OAuthenticator: Authenticate JupyterHub users with common OAuth providers
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.
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.
The installation guide can be found in the docs.
The docs also provide example setups for different OAuth2 identity providers:
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>
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size oauthenticator-14.2.0-py3-none-any.whl (61.5 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size oauthenticator-14.2.0.tar.gz (44.9 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for oauthenticator-14.2.0-py3-none-any.whl