This purpose of this library is to provide seamless integration of Plotly Dash with keycloak via the python-keycloak package.
Prerequisites
Prior to using this library, a Keycloak server must be setup. Please refer to the official documentation,
https://www.keycloak.org/
After setting up the server, create a client for the application. Set "Access Type" to "confidential", set the valid redirect URIs (mandatory), and click "Save". Go to "Installation", select "Keycloak OIDC JSON" as "Format Option" and download the file.
Installation
To run the code, a virtual environment should be setup,
python3 -m venv venv
After activating the environment,
source venv/bin/activate
The relevant packages can be installed as
pip install -r requirements.txt
Running the example
After completing the above step, the example can be run with the command
python3 -m flask_keycloak.examples.dash_example /path/to/keycloak.json
Deployment
Bump the version number in setup.py and run
python3 setup.py sdist
pip3 install twine
twine upload dist/*
Metadata
Release files for dash-keycloak 0.0.25
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dash-keycloak-0.0.25.tar.gz | 5.5 kB | Without provenance | Details for dash-keycloak-0.0.25.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dash_keycloak-0.0.25-py3-none-any.whl | Python 3 | none | any | Details for dash_keycloak-0.0.25-py3-none-any.whl |
Total release size: 11.4 kB
Release files / dash-keycloak-0.0.25.tar.gz
| Download URL | dash-keycloak-0.0.25.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8e104f88bbf99f80b6dffea03f8fcecc5742daa754f1135228ea3a03b94ab570
|
|
BLAKE2b-256 checksum How to use checksums |
96fdb4e770367d73891e6a9c6d224696372c7b1beba17604c9957eacf8e81595
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
|
Release files / dash_keycloak-0.0.25-py3-none-any.whl
| Download URL | dash_keycloak-0.0.25-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e05d009813b49125be6e6e9ee55afe730323a37d4e023672b300900ffd025816
|
|
BLAKE2b-256 checksum How to use checksums |
70e27a728b4d60adf508ac048b560eb869b5e8ff8413439fdb3ebf3137581c91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
|
Security for dash-keycloak 0.0.25
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.