enDI OpenID Provider
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.
Metadata
Release files for endi-oidc-provider 6.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| endi_oidc_provider-6.3.1.tar.gz | 33.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| endi_oidc_provider-6.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 74.0 kB
Release files / endi_oidc_provider-6.3.1.tar.gz
| Download URL | endi_oidc_provider-6.3.1.tar.gz |
|---|---|
| Size | 33.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3171fb7530fb70651abbc1674ee21bb230fc615cd770d505155937d2d1cbe9f5
|
|
BLAKE2b-256 checksum How to use checksums |
e4bae8a942f5127bab0d03467096842aac0ef37b1e0e24e915a8e29ffed196e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / endi_oidc_provider-6.3.1-py3-none-any.whl
| Download URL | endi_oidc_provider-6.3.1-py3-none-any.whl |
|---|---|
| Size | 40.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ee03f71983d691dd8bee2ee1a2d30a57f22d4cbc01e24d52fc93e6a6985a83c1
|
|
BLAKE2b-256 checksum How to use checksums |
bf4415663cdb0a1536e26066020469a0931b6864b0d1bdc09b896d8830acad4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|