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"],
"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.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
================
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.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
guillotina_oauth-1.0.6.tar.gz
(6.1 kB
view hashes)
Built Distribution
Close
Hashes for guillotina_oauth-1.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bb1e4be7552244e41888a5d212d0670ef0a607a9141edc4e287d4ae82ffbe0c |
|
MD5 | 10924b5ca6e93f888f03fd5b0b241073 |
|
BLAKE2b-256 | d4b4393f31928396265e2cb9174d023735832d141b10a8789b9e989578881500 |