# OAuth + JupyterHub Authenticator = OAuthenticator :heart:
[![Documentation build status](https://img.shields.io/readthedocs/oauthenticator?logo=read-the-docs)](https://oauthenticator.readthedocs.org/en/latest)
[![GitHub Workflow Status - Test](https://img.shields.io/github/actions/workflow/status/jupyterhub/oauthenticator/test.yml?logo=github&label=tests)](https://github.com/jupyterhub/oauthenticator/actions)
[![Latest PyPI version](https://img.shields.io/pypi/v/oauthenticator?logo=pypi)](https://pypi.python.org/pypi/oauthenticator)
[![Latest conda-forge version](https://img.shields.io/conda/vn/conda-forge/oauthenticator?logo=conda-forge)](https://anaconda.org/conda-forge/oauthenticator)
[![GitHub](https://img.shields.io/badge/issue_tracking-github-blue?logo=github)](https://github.com/jupyterhub/oauthenticator/issues)
[![Discourse](https://img.shields.io/badge/help_forum-discourse-blue?logo=discourse)](https://discourse.jupyter.org/c/jupyterhub)
[![Gitter](https://img.shields.io/badge/social_chat-gitter-blue?logo=gitter)](https://gitter.im/jupyterhub/jupyterhub)
[OAuth](https://en.wikipedia.org/wiki/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](oauthenticator/auth0.py),
[Azure AD](oauthenticator/azuread.py), [Bitbucket](oauthenticator/bitbucket.py), [CILogon](oauthenticator/cilogon.py), [FeiShu](https://github.com/tezignlab/jupyterhub_feishu_authenticator),
[GitHub](oauthenticator/github.py), [GitLab](oauthenticator/gitlab.py), [Globus](oauthenticator/globus.py),
[Google](oauthenticator/google.py), [MediaWiki](oauthenticator/mediawiki.py),
[OpenShift](oauthenticator/openshift.py).
There is also a [GenericAuthenticator](oauthenticator/generic.py)
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](https://oauthenticator.readthedocs.io/en/latest/tutorials/install.html).
The [docs](https://oauthenticator.readthedocs.io/en/latest/tutorials/provider-specific-setup/index.html) 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>
```
[contributing.md]: https://github.com/jupyterhub/oauthenticator/blob/main/CONTRIBUTING.md
Raw data
{
"_id": null,
"home_page": "https://jupyter.org",
"name": "oauthenticator",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "Interactive, Interpreter, Shell, Web",
"author": "Jupyter Development Team",
"author_email": "jupyter@googlegroups.com",
"download_url": "https://files.pythonhosted.org/packages/a0/f6/80883d125a7466b41d1ac6aa41799327656e36ca51fe224f62d4fbaa8406/oauthenticator-17.1.0.tar.gz",
"platform": "Linux",
"description": "# OAuth + JupyterHub Authenticator = OAuthenticator :heart:\n\n[![Documentation build status](https://img.shields.io/readthedocs/oauthenticator?logo=read-the-docs)](https://oauthenticator.readthedocs.org/en/latest)\n[![GitHub Workflow Status - Test](https://img.shields.io/github/actions/workflow/status/jupyterhub/oauthenticator/test.yml?logo=github&label=tests)](https://github.com/jupyterhub/oauthenticator/actions)\n[![Latest PyPI version](https://img.shields.io/pypi/v/oauthenticator?logo=pypi)](https://pypi.python.org/pypi/oauthenticator)\n[![Latest conda-forge version](https://img.shields.io/conda/vn/conda-forge/oauthenticator?logo=conda-forge)](https://anaconda.org/conda-forge/oauthenticator)\n[![GitHub](https://img.shields.io/badge/issue_tracking-github-blue?logo=github)](https://github.com/jupyterhub/oauthenticator/issues)\n[![Discourse](https://img.shields.io/badge/help_forum-discourse-blue?logo=discourse)](https://discourse.jupyter.org/c/jupyterhub)\n[![Gitter](https://img.shields.io/badge/social_chat-gitter-blue?logo=gitter)](https://gitter.im/jupyterhub/jupyterhub)\n\n[OAuth](https://en.wikipedia.org/wiki/OAuth) is a token based login mechanism that doesn't rely on a username and password mapping.\nIn order to use this login mechanism with JupyerHub the login handlers need to be overridden.\nOAuthenticator overrides these handlers for the common OAuth2 identity providers allowing them to be\nplugged in and used with JupyterHub.\n\nThe following authentication services are supported through their own authenticator: [Auth0](oauthenticator/auth0.py),\n[Azure AD](oauthenticator/azuread.py), [Bitbucket](oauthenticator/bitbucket.py), [CILogon](oauthenticator/cilogon.py), [FeiShu](https://github.com/tezignlab/jupyterhub_feishu_authenticator),\n[GitHub](oauthenticator/github.py), [GitLab](oauthenticator/gitlab.py), [Globus](oauthenticator/globus.py),\n[Google](oauthenticator/google.py), [MediaWiki](oauthenticator/mediawiki.py),\n[OpenShift](oauthenticator/openshift.py).\n\nThere is also a [GenericAuthenticator](oauthenticator/generic.py)\nthat can be configured with any OAuth 2.0 identity provider or can be used\nto create a new authenticator class when additional customization is needed.\n\n## Installation\n\nThe installation guide can be found in the [docs](https://oauthenticator.readthedocs.io/en/latest/tutorials/install.html).\n\nThe [docs](https://oauthenticator.readthedocs.io/en/latest/tutorials/provider-specific-setup/index.html) also provide example setups for different OAuth2 identity providers.\n\n## Running tests\n\nTo run the tests locally, first setup a development environment as described in\n[CONTRIBUTING.md], and then do:\n\n```\npytest -v ./oauthenticator/tests/\n```\n\nOr you run a specific test file with:\n\n```\npytest -v ./oauthenticator/tests/<test-file-name>\n```\n\n[contributing.md]: https://github.com/jupyterhub/oauthenticator/blob/main/CONTRIBUTING.md\n",
"bugtrack_url": null,
"license": "BSD",
"summary": "OAuthenticator: Authenticate JupyterHub users with common OAuth providers",
"version": "17.1.0",
"project_urls": {
"Homepage": "https://jupyter.org"
},
"split_keywords": [
"interactive",
" interpreter",
" shell",
" web"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "74fcaac29a029d1faac2af246990efc4d0898f930e17bde1f2733d8ba2b0a173",
"md5": "def305c1f360645b5124021317edc685",
"sha256": "d5fc61dd8fe4008cb4a60c56744cc1956dde3a0bc3eb98d04b64ef0761aef1e7"
},
"downloads": -1,
"filename": "oauthenticator-17.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "def305c1f360645b5124021317edc685",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 83239,
"upload_time": "2024-10-11T11:17:59",
"upload_time_iso_8601": "2024-10-11T11:17:59.955976Z",
"url": "https://files.pythonhosted.org/packages/74/fc/aac29a029d1faac2af246990efc4d0898f930e17bde1f2733d8ba2b0a173/oauthenticator-17.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a0f680883d125a7466b41d1ac6aa41799327656e36ca51fe224f62d4fbaa8406",
"md5": "d36995d905ee5653d1cf2a774845a302",
"sha256": "d915acad2f96d3d018f705afbccfe9633b0cd31cea730599612bf8042b1e822c"
},
"downloads": -1,
"filename": "oauthenticator-17.1.0.tar.gz",
"has_sig": false,
"md5_digest": "d36995d905ee5653d1cf2a774845a302",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 63327,
"upload_time": "2024-10-11T11:18:01",
"upload_time_iso_8601": "2024-10-11T11:18:01.756422Z",
"url": "https://files.pythonhosted.org/packages/a0/f6/80883d125a7466b41d1ac6aa41799327656e36ca51fe224f62d4fbaa8406/oauthenticator-17.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-11 11:18:01",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "oauthenticator"
}