tmpauthenticator
tmpauthenticator copied to clipboard
JupyterHub authenticator that hands out temporary accounts for everyone. For use in tmpnb.org
I think the change in https://github.com/jupyterhub/jupyterhub/pull/4739 made us not need to do the override after logging in a user, I'm not sure - to be verified. https://github.com/jupyterhub/tmpauthenticator/blob/7c0d38518f71a288c0fa124e5cd00bf4c8859561/tmpauthenticator/__init__.py#L33-L52
Dependency related though: ``` Successfully built jupyterhub-tmpauthenticator frozenlist multidict yarl Failed to build aiohttp ERROR: Could not build wheels for aiohttp, which is required to install pyproject.toml-based projects ```
Hi, I am wondering whether it is possible to specify the name of the tmp user when starting a new notebook server in tmpauthenticator, something like: `https://jupyterhub.example.com:8000?name=new_username` My simple goal...
updates: - [github.com/asottile/pyupgrade: v3.15.2 → v3.16.0](https://github.com/asottile/pyupgrade/compare/v3.15.2...v3.16.0) - [github.com/PyCQA/flake8: 7.0.0 → 7.1.0](https://github.com/PyCQA/flake8/compare/7.0.0...7.1.0)
### Bug description After installing on debian 12 tmpauthenticator seems broken I traded tmpauthenticator for dummyauthenticator and jupyterhub works ok with that ### How to reproduce install jupyterhub as described...
updates: - [github.com/asottile/pyupgrade: v3.19.0 → v3.19.1](https://github.com/asottile/pyupgrade/compare/v3.19.0...v3.19.1) - [github.com/pycqa/isort: 5.13.2 → 6.0.1](https://github.com/pycqa/isort/compare/5.13.2...6.0.1) - [github.com/psf/black: 24.10.0 → 25.1.0](https://github.com/psf/black/compare/24.10.0...25.1.0) - [github.com/PyCQA/flake8: 7.1.1 → 7.1.2](https://github.com/PyCQA/flake8/compare/7.1.1...7.1.2)
JupyterHub 5 now [defaults to allow_all False](https://jupyterhub.readthedocs.io/en/stable/tutorial/getting-started/authenticators-users-basics.html#deciding-who-is-allowed). I believe that in order to keep the expected behavior of the tmpauthenticator, `allow_all` should be True. The tests haven't picked this up...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4 to 5. Release notes Sourced from codecov/codecov-action's releases. v5.0.0 v5 Release v5 of the Codecov GitHub Action will use the Codecov Wrapper to encapsulate the CLI....
updates: - [github.com/asottile/pyupgrade: v3.20.0 → v3.21.0](https://github.com/asottile/pyupgrade/compare/v3.20.0...v3.21.0) - [github.com/pycqa/isort: 6.1.0 → 7.0.0](https://github.com/pycqa/isort/compare/6.1.0...7.0.0)