{"id":18439417,"url":"https://github.com/idiap/multiauthenticator","last_synced_at":"2025-09-03T06:39:46.179Z","repository":{"id":197791944,"uuid":"699256643","full_name":"idiap/multiauthenticator","owner":"idiap","description":"JupyterHub authenticator muxer that allows to use more than one authentication backend to access an instance.","archived":false,"fork":false,"pushed_at":"2025-07-01T09:07:23.000Z","size":125,"stargazers_count":6,"open_issues_count":0,"forks_count":7,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-07-01T10:24:40.520Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/idiap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSES/BSD-3-Clause.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-02T09:09:53.000Z","updated_at":"2025-07-01T09:07:26.000Z","dependencies_parsed_at":"2024-11-06T06:27:42.687Z","dependency_job_id":"08a78e28-7a60-4f8d-b390-fc266f14df87","html_url":"https://github.com/idiap/multiauthenticator","commit_stats":null,"previous_names":["idiap/multiauthenticator"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/idiap/multiauthenticator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idiap%2Fmultiauthenticator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idiap%2Fmultiauthenticator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idiap%2Fmultiauthenticator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idiap%2Fmultiauthenticator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/idiap","download_url":"https://codeload.github.com/idiap/multiauthenticator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idiap%2Fmultiauthenticator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273403946,"owners_count":25099299,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T06:24:42.823Z","updated_at":"2025-09-03T06:39:46.124Z","avatar_url":"https://github.com/idiap.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nCopyright © Idiap Research Institute \u003ccontact@idiap.ch\u003e\n\nSPDX-License-Identifier: BSD-3-Clause\n--\u003e\n\n# JupyterHub OAuthenticator + LDAPAuthenticator ++... = MultiAuthenticator ❤️\n\nThe MultiAuthenticator is multiplexer authenticator class that allows to use\nmore than one authentication option with JupyterHub.\n\n## Installation\n\n```\n$ pip install git+https://github.com/idiap/multiauthenticator\n$ pip install jupyter-multiauthenticator\n```\n\n## Configuration\n\nThe MultiAuthenticator class only has one configuration point: authenticators.\n\nThis property shall contain a list of tuple with the following content:\n\n- Authenticator class (i.e. GitLabAuthenticator, LDAPAuthenticator)\n- The URL scope (i.e. /gitlab, /ldap)\n- A dictionary with the authenticator's configuration\n\nAs an example:\n\n```python\nfrom jupyterhub.auth import PAMAuthenticator\n\nclass MyPamAutenticator(PAMAuthenticator):\n    login_service = \"PAM\"\n\nc.MultiAuthenticator.authenticators = [\n    {\n        \"authenticator_class\": 'github',\n        \"url_prefix\": '/github',\n        \"config\": {\n            'client_id': 'XXXX',\n            'client_secret': 'YYYY',\n            'oauth_callback_url': 'https://jupyterhub.example.com/hub/github/oauth_callback'\n        }\n    },\n    {\n        \"authenticator_class\": 'google',\n        \"url_prefix\": '/google',\n        \"config\": {\n            'client_id': 'xxxx',\n            'client_secret': 'yyyy',\n            'oauth_callback_url': 'https://jupyterhub.example.com/hub/google/oauth_callback'\n        }\n    },\n    {\n        \"authenticator_class\": 'gitlab',\n        \"url_prefix\": '/gitlab',\n        \"config\": {\n            'client_id': 'ZZZZ',\n            'client_secret': 'AAAA',\n            'oauth_callback_url': 'https://jupyterhub.example.com/hub/gitlab/oauth_callback'\n            \"gitlab_url\": \"https://gitlab.example.com\"\n        }\n    },\n    {\n        \"authenticator_class\": MyPamAuthenticator,\n        \"url_prefix\": \"/pam\",\n    },\n]\n\nc.JupyterHub.authenticator_class = 'multiauthenticator'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidiap%2Fmultiauthenticator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidiap%2Fmultiauthenticator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidiap%2Fmultiauthenticator/lists"}