Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jupyterhub/dummyauthenticator

A Dummy JupyterHub Authenticator to make testing easy
https://github.com/jupyterhub/dummyauthenticator

Last synced: about 2 months ago
JSON representation

A Dummy JupyterHub Authenticator to make testing easy

Awesome Lists containing this project

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"
```