Skip to main content

guillotina addon to provide users that are stored in the database

Project description

.. contents::

guillotina_dbusers
==================

Store users/groups in the database for guillotina.


Installation
------------

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


Available content types:
- User
- Group

Usage
-----

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


POST /db/container/users {
"@type": "User",
"username": "foobar",
"email": "foo@bar.com",
"password": "foobar"
}


You can now authenticate with the `foobar` user.



Login
-----

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.1 (2018-07-19)
------------------

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


2.0.0 (2018-07-19)
------------------

- Work with guillotina 4
[vangheem]


1.0.1 (2017-10-08)
------------------

- Fix issues with user definition on latest guillotina
[vangheem]

- Automatically configure
[vangheem]


1.0.0 (2017-04-11)
------------------

- initial move to guillotina
[vangheem]

Project details


Download files

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

Source Distribution

guillotina_dbusers-2.0.1.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

guillotina_dbusers-2.0.1-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file guillotina_dbusers-2.0.1.tar.gz.

File metadata

File hashes

Hashes for guillotina_dbusers-2.0.1.tar.gz
Algorithm Hash digest
SHA256 cb0246f048c9db09a6b05dbcae7085430eee9ca493b0c685d56de6fdc71b91a7
MD5 6a3927a06263c1408867514fd8203a17
BLAKE2b-256 bc0a0a414bffffe1bf55a97086e5c7210a4f8b6883c3e8c052b4653c40bfaecc

See more details on using hashes here.

File details

Details for the file guillotina_dbusers-2.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for guillotina_dbusers-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a2afcc27c0a298def7a41689619ba2f1134dace6b9742578dbfc8673d52559be
MD5 398887363e6fb3f0fb1a1075a2097e68
BLAKE2b-256 4c18d838e4b93299b94d9303672040b4eea63ce05be2c8717e07d43ef969f7fb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page