Skip to main content

guillotina oauth support

Project description

.. contents::

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


WARNING: this package requires a working plone.oauth server...


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"],
"auth_token_validators": [
"guillotina.auth.validators.SaltedHashPasswordValidator",
"guillotina_oauth.oauth.OAuthJWTValidator"
],
"oauth_settings": {
"server": "http://localhost/",
"jwt_secret": "secret",
"jwt_algorithm": "HS256",
"client_id": 11,
"client_password": "secret"
}
}

1.0.7 (2017-07-24)
------------------

- Allow user to validate without any roles from api
[vangheem]


1.0.6 (2017-07-24)
------------------

- Fix use of OPTIONS for oauth endpoint
[vangheem]

- make sure POST request pushes variables to oauth endpoint as json data
[vangheem]


1.0.5 (2017-07-24)
------------------

- @oauthgetcode now works on application root as well as container
[vangheem]


1.0.4 (2017-06-25)
------------------

- User id on oauth may not be mail
[bloodbare]

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

Uploaded Source

Built Distribution

guillotina_oauth-1.0.7-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for guillotina_oauth-1.0.7.tar.gz
Algorithm Hash digest
SHA256 956c794beaad8525699176afad5e9430235ef240e69c0ed6eafd75b05fdea9fd
MD5 a10ca8e04e047aaf18e8f7dd48eead11
BLAKE2b-256 b8ec5061fa78f6f290990ea4a2cf3038f90c7724e7ec29c9e5d00e6d112c0877

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for guillotina_oauth-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f718ce7059440493f1262a8b0a2463fcf6af5a1793c91ccbdaf97909b5971ce8
MD5 7cd53c697efdcd25adcd493c7be8c679
BLAKE2b-256 37a9f7496e023b1cd245c7f5a01ca304c75bd6cba640e97808d447547a0b96cc

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