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, 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
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
File details
Details for the file oauthenticator-16.1.1.tar.gz
.
File metadata
- Download URL: oauthenticator-16.1.1.tar.gz
- Upload date:
- Size: 55.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39bbf8309bceee58be2aa23697a2b17f18e96d9543e4a149c239ffbbe52d6904 |
|
MD5 | 3248696d4b5efe4985551873f825d0b3 |
|
BLAKE2b-256 | 7a4445a76c59678cc400799014a24197655dc8fdf06f59ab01e13f81aa833493 |
File details
Details for the file oauthenticator-16.1.1-py3-none-any.whl
.
File metadata
- Download URL: oauthenticator-16.1.1-py3-none-any.whl
- Upload date:
- Size: 74.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae74263ede94f04d62fb5d3b14dcbb7646ae9b6266573bfb202fd340ae339cc5 |
|
MD5 | 56546bf7f7313c3ed8aa483d5406b4e7 |
|
BLAKE2b-256 | 7c6b1d4384bef42a27ba1f621eb081437886b85706e927ecb0f472dbce9dcb41 |