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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file oauthenticator-17.3.0.tar.gz.
File metadata
- Download URL: oauthenticator-17.3.0.tar.gz
- Upload date:
- Size: 65.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5d90cb2411fff3dc6fcc1633468233c0e0e0239422c087c7734d1685055b8f3
|
|
| MD5 |
6344bcc3f7d8610253ee027a16f5edb9
|
|
| BLAKE2b-256 |
ae99883f6e226bd61922e7161032c413adcdbd0b4f397f9e7539b9c78af97872
|
Provenance
The following attestation bundles were made for oauthenticator-17.3.0.tar.gz:
Publisher:
release.yaml on jupyterhub/oauthenticator
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
oauthenticator-17.3.0.tar.gz -
Subject digest:
e5d90cb2411fff3dc6fcc1633468233c0e0e0239422c087c7734d1685055b8f3 - Sigstore transparency entry: 154731782
- Sigstore integration time:
-
Permalink:
jupyterhub/oauthenticator@109018ef6e62bb9eed62f86af4c08929ac37c524 -
Branch / Tag:
refs/tags/17.3.0 - Owner: https://github.com/jupyterhub
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@109018ef6e62bb9eed62f86af4c08929ac37c524 -
Trigger Event:
push
-
Statement type:
File details
Details for the file oauthenticator-17.3.0-py3-none-any.whl.
File metadata
- Download URL: oauthenticator-17.3.0-py3-none-any.whl
- Upload date:
- Size: 85.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1aaa7e21996bb6d53d303ac5362cc26a40812c0dbb722e7bffa24edd813390a1
|
|
| MD5 |
2bffa0a1d2d8be44b6874fe42443254c
|
|
| BLAKE2b-256 |
0c2fdc98e8e023dfbebe88e8725470d13565f61f3a5ef6835f330ad6a1d0b1e0
|
Provenance
The following attestation bundles were made for oauthenticator-17.3.0-py3-none-any.whl:
Publisher:
release.yaml on jupyterhub/oauthenticator
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
oauthenticator-17.3.0-py3-none-any.whl -
Subject digest:
1aaa7e21996bb6d53d303ac5362cc26a40812c0dbb722e7bffa24edd813390a1 - Sigstore transparency entry: 154731785
- Sigstore integration time:
-
Permalink:
jupyterhub/oauthenticator@109018ef6e62bb9eed62f86af4c08929ac37c524 -
Branch / Tag:
refs/tags/17.3.0 - Owner: https://github.com/jupyterhub
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@109018ef6e62bb9eed62f86af4c08929ac37c524 -
Trigger Event:
push
-
Statement type: