Skip to main content

guillotina addon to provide users that are stored in the database

Project description

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 using dbusers as id.

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:L

POST /db/container/@refresh_token

5.0.0 (2019-06-21)

  • Guillotina > 5 only

  • Update API to be compat with plone api [jordic]

2.0.5 (2019-06-18)

  • bump

2.0.4 (2019-06-18)

  • restrict g version [vangheem]

2.0.3 (2019-04-26)

  • perms

2.0.2 (2018-09-25)

  • Remove login endpoint because guillotina already offers it [bloodbare]

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-5.0.0.tar.gz (8.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: guillotina_dbusers-5.0.0.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6

File hashes

Hashes for guillotina_dbusers-5.0.0.tar.gz
Algorithm Hash digest
SHA256 76310253dbb5c748dcca8338d3691e068b30a7750dba2170dca093db07348232
MD5 cc0335b1f55cc354b745077f1c1ac80a
BLAKE2b-256 0994715668281f1dd038d0bc3ed88d81629e680fabbd573fba4c55f466af8723

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