endi_oidc_provider
Project description
This is still a work in progress.
Open Id connect provider based on enDI (http://endi.coop).
Only Authorization Code Flow is supported
Getting Started
Install
Install oidc provider in the same virtual environment as endi.
$VENV/bin/pip install endi_oidc_provider
Configure your development.ini file
Ensure the paths to the session files :
session.data_dir : path on disk
session.lock_dir : path on disk
Set the connection uri for database access :
sqlalchemy.url : the mysql uri to access endi’s database
Configure oidc specific keys (unique salt and oidc endpoint url ):
oidc.salt : a unique salt used for encryption
oidc.issuer_url : url of the oidc endpoint (like https://myendi.coop/oidc)
Start the service
$VENV/bin/pserve development.ini
enDI integration
In your enDI’s ini file add the following :
pyramid.includes =
...
endi_oidc_provider
...
That’s for model registration so that the db startup initialize the tables.
And add the following :
endi.includes =
...
endi_oidc_provider.plugin
...
It adds an administration panel to manage the oidc consumers that access the API.
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
Hashes for endi_oidc_provider-6.3.0a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3fa3626239c35e18471458eaaa9db3f1c9b2f423c268465d38c3f688ff89f94 |
|
MD5 | 021f692946d04a1f1d8e6cee0c514911 |
|
BLAKE2b-256 | 9404e2bb2d93ec3a69c98d65140ab3bf537a134bece524a80d4dc3414a042cdb |
Hashes for endi_oidc_provider-6.3.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e263ed7bde78fca151757c371d01bf71d68922acbf42a593b1073cfe08f4069d |
|
MD5 | 9dc0b0af6b35d2c3cf90085412e52869 |
|
BLAKE2b-256 | 006e3f0cfc9e00b5ddad720c725f2706d504c271d83c473fbf955956e88f4bd0 |