{"id":19009781,"url":"https://github.com/jupyterhub/tmpauthenticator","last_synced_at":"2025-05-16T18:10:43.413Z","repository":{"id":55902681,"uuid":"77654780","full_name":"jupyterhub/tmpauthenticator","owner":"jupyterhub","description":"JupyterHub authenticator that hands out temporary accounts for everyone. For use in tmpnb.org","archived":false,"fork":false,"pushed_at":"2025-04-07T20:36:17.000Z","size":97,"stargazers_count":23,"open_issues_count":7,"forks_count":19,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-12T17:46:40.141Z","etag":null,"topics":["authenticator","jupyterhub","tmpnb"],"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/jupyterhub.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2016-12-30T02:42:15.000Z","updated_at":"2025-02-07T14:50:57.000Z","dependencies_parsed_at":"2023-02-09T21:01:12.567Z","dependency_job_id":"ef98fb98-fb60-403d-8451-a07d5d4654da","html_url":"https://github.com/jupyterhub/tmpauthenticator","commit_stats":{"total_commits":23,"total_committers":8,"mean_commits":2.875,"dds":0.3913043478260869,"last_synced_commit":"1262a793c968248ff21ccd9fc8f433da46b7ffb8"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jupyterhub%2Ftmpauthenticator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jupyterhub%2Ftmpauthenticator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jupyterhub%2Ftmpauthenticator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jupyterhub%2Ftmpauthenticator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jupyterhub","download_url":"https://codeload.github.com/jupyterhub/tmpauthenticator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254051468,"owners_count":22006488,"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":["authenticator","jupyterhub","tmpnb"],"created_at":"2024-11-08T19:08:52.432Z","updated_at":"2025-05-16T18:10:43.397Z","avatar_url":"https://github.com/jupyterhub.png","language":"Python","readme":"# Temporary JupyterHub Authenticator\n\n[![Latest PyPI version](https://img.shields.io/pypi/v/jupyterhub-tmpauthenticator?logo=pypi)](https://pypi.python.org/pypi/jupyterhub-tmpauthenticator)\n[![GitHub Workflow Status - Test](https://img.shields.io/github/actions/workflow/status/jupyterhub/tmpauthenticator/test.yaml?logo=github\u0026label=tests)](https://github.com/jupyterhub/tmpauthenticator/actions)\n[![Test coverage of code](https://codecov.io/gh/jupyterhub/tmpauthenticator/branch/main/graph/badge.svg)](https://codecov.io/gh/jupyterhub/tmpauthenticator)\n[![Issue tracking - GitHub](https://img.shields.io/badge/issue_tracking-github-blue?logo=github)](https://github.com/jupyterhub/tmpauthenticator/issues)\n[![Help forum - Discourse](https://img.shields.io/badge/help_forum-discourse-blue?logo=discourse)](https://discourse.jupyter.org/c/jupyterhub)\n\nSimple authenticator for [JupyterHub](http://github.com/jupyter/jupyterhub/)\nthat gives anyone who visits the home page a user account without having to\nlog in using any UI at all. It also spawns a single-user server and directs\nthe user to it immediately, without them having to press a button.\n\nBuilt primarily to help run [tmpnb](https://github.com/jupyter/tmpnb) with JupyterHub.\n\n## Installation\n\n```\npip install jupyterhub-tmpauthenticator\n```\n\nShould install it. It has no additional dependencies beyond JupyterHub.\n\nYou can then use this as your authenticator by adding the following line to\nyour `jupyterhub_config.py`:\n\n```python\nc.JupyterHub.authenticator_class = \"tmp\"\n```\n\n## Configuration\n\n`tmpauthenticator` does not have a lot of configurable knobs, but will respect\nmany relevant config options in the [base JupyterHub Authenticator class](https://jupyterhub.readthedocs.io/en/stable/reference/api/auth.html).\nHere are a few that are particularly useful.\n\n### `TmpAuthenticator.auto_login`\n\nBy default, `tmpauthenticator` will automatically log the user in as soon\nas they hit the landing page of the JupyterHub, without showing them any UI.\nThis behavior can be turned off by setting `TmpAuthenticator.auto_login` to\n`False`, allowing a home page to be shown. There will be a `Sign in` button here\nthat will automatically authenticate the user.\n\n```python\nc.TmpAuthenticator.auto_login = False\n```\n\n### `TmpAuthenticator.login_service`\n\nIf `auto_login` is set to `False`, the value of `TmpAuthenticator.login_service`\nwill determine the text shown next to `Sign in` in the default home page. It\ndefaults to `Automatic Temporary Credentials, so the button will read as\n`Sign in with Automatic Temporary Credentials`.\n\n```python\nc.TmpAuthenticator.auto_login = False\nc.TmpAuthenticator.login_service = \"your inherent worth as a human being\"\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjupyterhub%2Ftmpauthenticator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjupyterhub%2Ftmpauthenticator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjupyterhub%2Ftmpauthenticator/lists"}