This purpose of this library is to provide seamless integration of Plotly Dash or Flask with Keycloak via the dash-flask-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 realm and a client for the application.
In the clients settings, write redirect URI as "your_app_url/keycloak/callback" .
Installation
pip install dash-flask-keycloak
Motivation
The original project was abandoned and doesn't work with Keyloack higher than 17.0 version.
Also were added:
-
Session state control -
Access token validation -
Session lifetime (It's recommended to set "session_lifetime" in app less or equal to a minimal value among SSO Session Idle, SSO Session Max in Keyloak realm settings)
You can find examples in dash-flask-keycloak/examples
(Was developed and tested on Ubuntu 20.04, Python 3.8.10 and Keycloak 21.1.1)
Metadata
Release files for dash-flask-keycloak 1.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 | Provenance | Actions |
|---|---|---|---|---|
| dash_flask_keycloak-1.3.1.tar.gz | 8.5 kB | Without provenance | Details for dash_flask_keycloak-1.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dash_flask_keycloak-1.3.1-py3-none-any.whl | Python 3 | none | any | Details for dash_flask_keycloak-1.3.1-py3-none-any.whl |
Total release size: 17.5 kB
Release files / dash_flask_keycloak-1.3.1.tar.gz
| Download URL | dash_flask_keycloak-1.3.1.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1afde5cb799a57a6d75b2e90499df65645c45d4409da9bd5ae74a844ca1375aa
|
|
BLAKE2b-256 checksum How to use checksums |
61284e34ca38236ee4a609966f746f5f64a7a3dcedc9973ca2a00a7d31c4c359
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Release files / dash_flask_keycloak-1.3.1-py3-none-any.whl
| Download URL | dash_flask_keycloak-1.3.1-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
651cc9582f0c387662e8326b651134b7d4c417d44d665c460d47b6d6a4337e62
|
|
BLAKE2b-256 checksum How to use checksums |
3ad2bc0f8e124878b84bdee4804762620546072ea845b09e02a1be41c9f678f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Security for dash-flask-keycloak 1.3.1
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.