Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jupyterhub/dummyauthenticator
A Dummy JupyterHub Authenticator to make testing easy
https://github.com/jupyterhub/dummyauthenticator
Last synced: 2 months ago
JSON representation
A Dummy JupyterHub Authenticator to make testing easy
- Host: GitHub
- URL: https://github.com/jupyterhub/dummyauthenticator
- Owner: jupyterhub
- License: bsd-3-clause
- Archived: true
- Created: 2016-02-14T21:57:32.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-02-12T08:19:02.000Z (almost 4 years ago)
- Last Synced: 2024-08-01T19:51:15.339Z (6 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 28
- Watchers: 5
- Forks: 15
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-jupyter-resources - GitHub - 71% open · ⏱️ 12.02.2021): (JupyterHub认证)
README
# DEPRECATED #
DummyAuthenticator is now a [part of JupyterHub core](https://github.com/jupyterhub/jupyterhub/blob/4e7936056744cdad31d608388a349207196efa56/jupyterhub/auth.py#L1122).
You can migrate to it by setting:```python
c.JupyterHub.authenticator_class = "dummy"
```The JupyterHub documentation has more information on [how to setup a development environment](https://jupyterhub.readthedocs.io/en/stable/contributing/setup.html)
# Dummy JupyterHub Authenticator #
Simple authenticator for [JupyterHub](http://github.com/jupyter/jupyterhub/)
that allows all user logins regardless of password. Useful only for testing,
do not use for anything actually serious!## Installation ##
```
pip install jupyterhub-dummyauthenticator
```Should install it. It has no additional dependencies beyond JupyterHub.
You can then use this as your authenticator by adding the following line to
your `jupyterhub_config.py`:```
c.JupyterHub.authenticator_class = 'dummyauthenticator.DummyAuthenticator'
```### Configuration ###
If you want, you can set a static global password for all users. This provides
slightly more security, but not that much more than having no password set :)```
c.DummyAuthenticator.password = "your strong password"
```