Skip to main content

guillotina addon to provide users that are stored in the database

Project description

.. contents::


Store users/groups in the database for guillotina.


- pip install guillotina_dbusers
- add `guillotina_dbusers` to list of applications in your guillotina configuration
- install into your container using the `@addons` endpoint using `dbusers` as id.

Available content types:
- User
- Group


After installation, you will now have a `users` and `groups` folder inside
your container.

POST /db/container/users {
"@type": "User",
"username": "foobar",
"email": "",
"password": "foobar"

You can now authenticate with the `foobar` user.


Besides using default authentication mechanisms, this package also provides
a `@login` so you can work with jwt tokens.

POST /db/container/@login {
"username": "foobar",
"password": "foobar"

And a `@refresh_token` endpoint:

POST /db/container/@refresh_token

2.0.2 (2018-09-25)

- Remove login endpoint because guillotina already offers it

2.0.1 (2018-07-19)

- Support both `username` and `login` as parameter for the `@login` endpoint

2.0.0 (2018-07-19)

- Work with guillotina 4

1.0.1 (2017-10-08)

- Fix issues with user definition on latest guillotina

- Automatically configure

1.0.0 (2017-04-11)

- initial move to guillotina

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
guillotina_dbusers-2.0.2-py3-none-any.whl (9.2 kB) Copy SHA256 hash SHA256 Wheel py3
guillotina_dbusers-2.0.2.tar.gz (6.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page