{"id":16519882,"url":"https://github.com/zonca/cilogonauthenticator","last_synced_at":"2026-06-09T00:30:59.522Z","repository":{"id":33868001,"uuid":"37576235","full_name":"zonca/cilogonauthenticator","owner":"zonca","description":null,"archived":false,"fork":false,"pushed_at":"2015-06-17T06:16:36.000Z","size":148,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-02T23:41:31.911Z","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":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zonca.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-17T06:13:42.000Z","updated_at":"2016-06-30T01:14:12.000Z","dependencies_parsed_at":"2022-09-12T17:30:21.759Z","dependency_job_id":null,"html_url":"https://github.com/zonca/cilogonauthenticator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zonca/cilogonauthenticator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonca%2Fcilogonauthenticator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonca%2Fcilogonauthenticator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonca%2Fcilogonauthenticator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonca%2Fcilogonauthenticator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zonca","download_url":"https://codeload.github.com/zonca/cilogonauthenticator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonca%2Fcilogonauthenticator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34086665,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"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-10-11T16:48:47.160Z","updated_at":"2026-06-09T00:30:59.478Z","avatar_url":"https://github.com/zonca.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OAuthenticator\n\nGitHub OAuth + JuptyerHub Authenticator = OAuthenticator\n\n## Examples\n\nFor an example docker image using OAuthenticator, see the [example](example)\ndirectory.\n\nThere is [another\nexample](https://github.com/jupyter/dockerspawner/tree/master/examples/oauth)\nfor using GitHub OAuth to spawn each user's server in a separate docker\ncontainer.\n\n## Installation\n\nFirst, install dependencies:\n\n    pip install -r requirements.txt\n\nThen, install the package:\n\n    python setup.py install\n\n## Setup\n\nFirst, you'll need to create a [GitHub OAuth\napplication](https://github.com/settings/applications/new). Make sure the\ncallback URL is:\n\n    http[s]://[your-host]/hub/oauth_callback\n\nWhere `[your-host]` is where your server will be running. Such as\n`example.com:8000`.\n\nThen, add the following to your `jupyterhub_config.py` file:\n\n    c.JupyterHub.authenticator_class = 'oauthenticator.GitHubOAuthenticator'\n\n(you can also use `LocalGitHubOAuthenticator` to handle both local and GitHub\nauth).\n\nYou will additionally need to specify the OAuth callback URL, the client ID, and\nthe client secret (you should have gotten these when you created your OAuth app\non GitHub). For example, if these values are in the environment variables\n`$OAUTH_CALLBACK_URL`, `$GITHUB_CLIENT_ID` and `$GITHUB_CLIENT_SECRET`, you\nshould add the following to your `jupyterhub_config.py`:\n\n    c.GitHubOAuthenticator.oauth_callback_url = os.environ['OAUTH_CALLBACK_URL']\n    c.GitHubOAuthenticator.github_client_id = os.environ['GITHUB_CLIENT_ID']\n    c.GitHubOAuthenticator.github_client_secret = os.environ['GITHUB_CLIENT_SECRET']\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzonca%2Fcilogonauthenticator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzonca%2Fcilogonauthenticator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzonca%2Fcilogonauthenticator/lists"}