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
File details
Details for the file endi_oidc_provider-6.2.0.tar.gz
.
File metadata
- Download URL: endi_oidc_provider-6.2.0.tar.gz
- Upload date:
- Size: 33.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.1.3 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d17ebb7fee07e3998cd3c09bf6295d1fef292711137dd5b74d7d666cd0316c7 |
|
MD5 | e88de7c3b4980a5e45ef174c6a9c4112 |
|
BLAKE2b-256 | 441ff94c93b64c5173e58579c2878388e2121e67ff6acc70c0953768d5a45e16 |
File details
Details for the file endi_oidc_provider-6.2.0-py3-none-any.whl
.
File metadata
- Download URL: endi_oidc_provider-6.2.0-py3-none-any.whl
- Upload date:
- Size: 40.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.1.3 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc7576958441318ba0b981176cc72c5428f678c520d60eceec3b3409ceb2a757 |
|
MD5 | 853fa1f3b7040f698cbe5fe834e8d9b0 |
|
BLAKE2b-256 | 160b7fe983c953a22c06812f2c931090bfc5be47b6f56bd2dfd3994346c96857 |