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.21 (2017-11-08)
-------------------
- Handle CancelledError
[vangheem]
1.0.20 (2017-11-01)
-------------------
- Fix search_users
[vangheem]
1.0.19 (2017-09-25)
-------------------
- Cache user object for 1 minute to lay off oauth server
[vangheem]
1.0.18 (2017-09-15)
-------------------
- Change various logging statements to "debug"
[vangheem]
1.0.17 (2017-09-08)
-------------------
- Fix release
[vangheem]
1.0.16 (2017-09-08)
-------------------
- Provide `auto_renew_token` setting to setting--useful in tests
[vangheem]
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
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.21 (2017-11-08)
-------------------
- Handle CancelledError
[vangheem]
1.0.20 (2017-11-01)
-------------------
- Fix search_users
[vangheem]
1.0.19 (2017-09-25)
-------------------
- Cache user object for 1 minute to lay off oauth server
[vangheem]
1.0.18 (2017-09-15)
-------------------
- Change various logging statements to "debug"
[vangheem]
1.0.17 (2017-09-08)
-------------------
- Fix release
[vangheem]
1.0.16 (2017-09-08)
-------------------
- Provide `auto_renew_token` setting to setting--useful in tests
[vangheem]
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file guillotina_oauth-1.0.21.tar.gz
.
File metadata
- Download URL: guillotina_oauth-1.0.21.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f4fd54b7f3347ed522cd10711649d7c66740f6a164ac3d12301d3dce3a05e0e |
|
MD5 | 4399da984bd4e9c205e084bafff9d89c |
|
BLAKE2b-256 | 2a2fb8bfd9137c18ed683b8bf27e8054e766fce27ae69a68b3a83090ac85fbb0 |
File details
Details for the file guillotina_oauth-1.0.21-py3-none-any.whl
.
File metadata
- Download URL: guillotina_oauth-1.0.21-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d97b15bcc6cae75aa4ba8f5a9f7ac31723bf10e078ab887bf6a35966159427ba |
|
MD5 | e76010b84eda8d21657ca16e81729da6 |
|
BLAKE2b-256 | 1c87a2f29ad506f21dd824594b601cb20caf286fe125ebfdada491c329ac10ba |