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.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"],
"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.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.2.tar.gz
(6.1 kB
view hashes)
Built Distribution
Close
Hashes for guillotina_oauth-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff887f46d8aec485adcd09a2d9e8a98a537246a222a8409699ede7c5cc45230e |
|
MD5 | 1fbd2eaa00bc9a8b3644e58c7d75542b |
|
BLAKE2b-256 | fe6bc0d1b5e05c9146648b3ace29ec30382a81bbca524d760462d2cad4f3b2b7 |