{"id":19168396,"url":"https://github.com/bloomberg/jupyterhub-kdcauthenticator","last_synced_at":"2025-05-07T14:41:25.624Z","repository":{"id":66125178,"uuid":"92973452","full_name":"bloomberg/jupyterhub-kdcauthenticator","owner":"bloomberg","description":"A Kerberos authenticator module for the JupyterHub platform","archived":false,"fork":false,"pushed_at":"2018-09-02T19:59:45.000Z","size":7,"stargazers_count":21,"open_issues_count":5,"forks_count":20,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-19T23:31:58.478Z","etag":null,"topics":["jupyterhub","kerberos"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bloomberg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.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":"2017-05-31T17:54:29.000Z","updated_at":"2025-03-07T01:29:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"e972ee8f-dbf3-4da8-be37-3bbedcd5a53c","html_url":"https://github.com/bloomberg/jupyterhub-kdcauthenticator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bloomberg%2Fjupyterhub-kdcauthenticator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bloomberg%2Fjupyterhub-kdcauthenticator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bloomberg%2Fjupyterhub-kdcauthenticator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bloomberg%2Fjupyterhub-kdcauthenticator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bloomberg","download_url":"https://codeload.github.com/bloomberg/jupyterhub-kdcauthenticator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252897355,"owners_count":21821427,"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","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":["jupyterhub","kerberos"],"created_at":"2024-11-09T09:42:30.794Z","updated_at":"2025-05-07T14:41:25.589Z","avatar_url":"https://github.com/bloomberg.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KDCAuthenticator\n\nKDC authenticator allows to authenticate the JuypterHub user using Kerberos protocol.\n\n# Install, Configure and Run\n\n1. Install KDC Authenticator -\n\n    Run the following command at kdcauthenticator directory\n\n    ```\n    pip3 install jupyterhub-kdcauthenticator\n    ```\n\n    Or clone the repository and install -\n    ```\n    git clone https://github.com/bloomberg/kdcauthenticator.git\n    cd kdcauthenticator\n    pip3 install -e .\n    ```\n\n2. Configure JupyterHub for KDC Authenticator\n\n    Add the following line to the jupyterHub config file\n    ```\n    c.JupyterHub.authenticator_class = 'kdcauthenticator.kdcauthenticator.KDCAuthenticator'\n    ```\n    Optionally you can add the following lines to create local system users\n    ```\n    c.LocalAuthenticator.add_user_cmd = ['adduser', '-m']\n    c.LocalAuthenticator.create_system_users = True\n    ```\n\n3. The Service principal for JupyterHub authenticator is configured to \"HTTP\" but can be configured by -\n\n    ```\n    c.KDCAuthenticator.service_name = '\u003cHTTP-Service-Principal\u003e'\n    ```\n\n4. Run the JupyterHub command with Kerberos environment variables -\n\n    ```\n    KRB5_CONFIG=[Kerberos-config-path] KRB5_KTNAME=[HTTP-Service-Principle-Keytab-path] jupyterhub --ip=0.0.0.0 --port=8000 --no-ssl --config=[jupyterHub-config-file-path]\n    ```\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbloomberg%2Fjupyterhub-kdcauthenticator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbloomberg%2Fjupyterhub-kdcauthenticator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbloomberg%2Fjupyterhub-kdcauthenticator/lists"}