{"id":16505530,"url":"https://github.com/davidbrochart/jupyterlab-auth","last_synced_at":"2025-10-07T02:45:10.436Z","repository":{"id":47766325,"uuid":"368900419","full_name":"davidbrochart/jupyterlab-auth","owner":"davidbrochart","description":null,"archived":false,"fork":false,"pushed_at":"2021-08-13T20:30:26.000Z","size":288,"stargazers_count":6,"open_issues_count":4,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-08T14:01:42.707Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/davidbrochart.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-19T14:37:03.000Z","updated_at":"2024-02-29T02:31:42.000Z","dependencies_parsed_at":"2022-08-25T03:11:50.139Z","dependency_job_id":null,"html_url":"https://github.com/davidbrochart/jupyterlab-auth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/davidbrochart/jupyterlab-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidbrochart%2Fjupyterlab-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidbrochart%2Fjupyterlab-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidbrochart%2Fjupyterlab-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidbrochart%2Fjupyterlab-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidbrochart","download_url":"https://codeload.github.com/davidbrochart/jupyterlab-auth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidbrochart%2Fjupyterlab-auth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278710890,"owners_count":26032541,"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-10-07T02:00:06.786Z","response_time":59,"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-11T15:12:15.566Z","updated_at":"2025-10-07T02:45:10.419Z","avatar_url":"https://github.com/davidbrochart.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jupyterlab-auth\n\n![Github Actions Status](https://github.com/davidbrochart/jupyterlab-auth/workflows/Build/badge.svg)\n\nA JupyterLab extension for authentication.\n\n\nThis extension is composed of a Python package named `jupyterlab-auth`\nfor the server extension and a NPM package named `jupyterlab-auth`\nfor the frontend extension.\n\n\n## Install\n\nTo install the extension, execute:\n\n```bash\nmamba create -n jupyterlab-auth-dev\nconda activate jupyterlab-auth-dev\nmamba install pip nodejs\n\nwget -q https://github.com/jupyterlab/jupyterlab/archive/master.tar.gz -O jlab.tar.gz\ntar zxf jlab.tar.gz\ncd jupyterlab-master\npip install -e .\njlpm\njlpm build\ncd ..\n\npip install -e .\njupyter labextension develop . --overwrite\njupyter server extension enable jupyterlab-auth\njlpm\njlpm run build\njupyter server extension list\njupyter labextension list\njupyter lab build\n\npip install https://github.com/Zsailer/jupyter_server/archive/authorization.zip\n\njupyter lab --dev-mode --extensions-in-dev-mode --collaborative\n```\n\n## Authentication with GitHub\n\nYou will need to authorize JupyterLab to access your GitHub information. We only need the\n`read:user` scope, which grants access to read a user's profile data (see the\n[available scopes](https://docs.github.com/en/developers/apps/building-oauth-apps/scopes-for-oauth-apps#available-scopes)).\n\nYou can register a new OAuth application [here](https://github.com/settings/applications/new):\n- Application name: JupyterLab\n- Homepage URL: http://localhost:8888\n- Authorization callback URL: http://localhost:8888/auth/github\n\n`localhost` and `8888` are the IP and port number, respectively. You might have to change them\naccording to your particular setup.\n\nThis will generate a client ID for you, and you must also generate a client secret.\n\nWhen navigating to the Jupyter server (either because JupyterLab automatically opens a new tab in\nyour browser or by manually going to e.g. http://localhost:8888), you should land to the\nlogin page, where you can enter your client ID and secret. After authentication, you should be\nallowed access and redirected to JupyterLab.\n\nTry opening e.g. http://localhost:8888 in another browser. Here again, you have to provide your\nclient ID and secret. It is fine if they are the same as before, you will just be authenticated as\nthe same user. You can see the connected users by opening the tab on the left. Also, when you see\nthe cursor of another user in a notebook cell, you can place your mouse over it and it should show\nyou the user name.\n\nYou can log out by navigating to e.g. http://localhost:8888/logout, or by clicking on your user\nlogin in the menu (on the right), and then \"Sign out\".\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidbrochart%2Fjupyterlab-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidbrochart%2Fjupyterlab-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidbrochart%2Fjupyterlab-auth/lists"}