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.15 (2017-08-09)
-------------------

- Be able to configure timeouts for oauth requests
[vangheem]


1.0.14 (2017-08-08)
-------------------

- b/w compat OPTIONS call for getting auth code
[vangheem]


1.0.13 (2017-08-07)
-------------------

- override OPTIONS for @oauthgetcode
[vangheem]


1.0.12 (2017-08-04)
-------------------

- Detect invalid service tokens and refresh
[vangheem]


1.0.11 (2017-08-04)
-------------------

- More logging


1.0.10 (2017-08-04)
-------------------

- Log correct service token
[vangheem]


1.0.9 (2017-08-04)
------------------

- More logging
[vangheem]


1.0.8 (2017-08-04)
------------------

- Handle errors better on renewing service tokens
[vangheem]


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

Uploaded Source

Built Distribution

guillotina_oauth-1.0.15-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for guillotina_oauth-1.0.15.tar.gz
Algorithm Hash digest
SHA256 de5e7331ae0f097806acc5f35a9a4e8f5680a4487509ff28e3cf18fa27fdfc63
MD5 7fa6fd0151c71fee61bf109bc98f645e
BLAKE2b-256 418d42bfeffa77a4843fd85c8fbc7f6a823235f37c0f8c526093d92b8cc33276

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for guillotina_oauth-1.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 d360e631586288da9c1cbbcdbc6a53cbc678ee3025b5c0b828d760d467975431
MD5 21d4274af85e6d629493ef53fa9357d1
BLAKE2b-256 7ac6337e776f48ab4dde68fbbfc1b02f5b108e8d4e9089609b4413fd50524ad2

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