Skip to main content

guillotina oauth support

Project description

.. contents::

GUILLOTINA_OAUTH
================


Features
--------

* There is no persistence information about the user

* The configuration is global for all application


Configuration
-------------

Generic global configuration on guillotina utilities section:

{
"applicatoins": ["guillotina_oauth"],
"oauth_settings": {
"server": "http://localhost/",
"jwt_secret": "secret",
"jwt_algorithm": "HS256",
"client_id": 11,
"client_password": "secret"
}
}


Installation on a site
----------------------

POST SITE_URL/@install

{
'pluggins': [
'guillotina.googleoauth'
]
}

Uninstall on a site
-------------------

POST SITE_URL/@uninstall

{
'pluggins': [
'guillotina.googleoauth'
]
}


Events
------

guillotina.auth.events.NewUserLogin

1.0.3 (2017-06-16)
------------------

- Handle oauth errors on connecting to invalid server
[vangheem]


1.0.2 (2017-06-16)
------------------

- Handle errors when no config is provided
[vangheem]


1.0.1 (2017-06-15)
------------------

- Do not raise KeyError if user is not found, raise Unauthorized
[vangheem]


1.0.0 (2017-04-24)
------------------

- initial release

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_oauth-1.0.3.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

guillotina_oauth-1.0.3-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file guillotina_oauth-1.0.3.tar.gz.

File metadata

File hashes

Hashes for guillotina_oauth-1.0.3.tar.gz
Algorithm Hash digest
SHA256 e97a7ed5bb68693cc9a6d0e54774f809224bf367069b52d3db9d599a05088efa
MD5 5b916d2d342b01f428c8a206b5bf275f
BLAKE2b-256 034cb52de03df1eb8d3208d386ab9a559ee73ca7ad2011f77ab702f0916c082e

See more details on using hashes here.

File details

Details for the file guillotina_oauth-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for guillotina_oauth-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d8d6fcd564e11fd807e95ca58ecc236114a63d4a482a9ffe591b6e495ac67e7b
MD5 29a5f461a0316f8eea78e3d11de55ebf
BLAKE2b-256 b4dcae2cf58182b48ca6917c16be52c75a7b6327cf1e69594b318c34a69a2a0d

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