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)
Raw data
{
"_id": null,
"home_page": "https://github.com/Ilnur786/dash-flask-keycloak",
"name": "dash-flask-keycloak",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "python, dash, flask, keycloak, pyjwt",
"author": "Ilnur Faizrakhmanov, Emil Haldrup Eriksen",
"author_email": "ilnurfrwork@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/61/28/4e34ca38236ee4a609966f746f5f64a7a3dcedc9973ca2a00a7d31c4c359/dash_flask_keycloak-1.3.1.tar.gz",
"platform": null,
"description": "This purpose of this library is to provide seamless integration of Plotly Dash or Flask with Keycloak via the dash-flask-keycloak package.\n\n### Prerequisites\n\nPrior to using this library, a Keycloak server must be setup. Please refer to the official documentation,\n\n https://www.keycloak.org/\n\nAfter setting up the server, create a realm and a client for the application.\n\nIn the clients settings, write redirect URI as \"your_app_url/keycloak/callback\" .\n\n### Installation\n\n pip install dash-flask-keycloak\n\n### Motivation\n\nThe original project was abandoned and doesn't work with Keyloack higher than 17.0 version.\n\nAlso were added:\n* Session state control\n* Access token validation\n* 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)\n\n\n## **You can find examples in dash-flask-keycloak/examples**\n\n(Was developed and tested on Ubuntu 20.04, Python 3.8.10 and Keycloak 21.1.1)\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Extension providing Keycloak integration via the python-keycloak package to the Dash/Flask app",
"version": "1.3.1",
"project_urls": {
"Homepage": "https://github.com/Ilnur786/dash-flask-keycloak"
},
"split_keywords": [
"python",
" dash",
" flask",
" keycloak",
" pyjwt"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3ad2bc0f8e124878b84bdee4804762620546072ea845b09e02a1be41c9f678f7",
"md5": "b10de4616e1f9407c40fb901aed61971",
"sha256": "651cc9582f0c387662e8326b651134b7d4c417d44d665c460d47b6d6a4337e62"
},
"downloads": -1,
"filename": "dash_flask_keycloak-1.3.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b10de4616e1f9407c40fb901aed61971",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 9009,
"upload_time": "2024-05-22T10:40:08",
"upload_time_iso_8601": "2024-05-22T10:40:08.707409Z",
"url": "https://files.pythonhosted.org/packages/3a/d2/bc0f8e124878b84bdee4804762620546072ea845b09e02a1be41c9f678f7/dash_flask_keycloak-1.3.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "61284e34ca38236ee4a609966f746f5f64a7a3dcedc9973ca2a00a7d31c4c359",
"md5": "f98841daf151ed385877635f99957f4a",
"sha256": "1afde5cb799a57a6d75b2e90499df65645c45d4409da9bd5ae74a844ca1375aa"
},
"downloads": -1,
"filename": "dash_flask_keycloak-1.3.1.tar.gz",
"has_sig": false,
"md5_digest": "f98841daf151ed385877635f99957f4a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 8498,
"upload_time": "2024-05-22T10:40:10",
"upload_time_iso_8601": "2024-05-22T10:40:10.488453Z",
"url": "https://files.pythonhosted.org/packages/61/28/4e34ca38236ee4a609966f746f5f64a7a3dcedc9973ca2a00a7d31c4c359/dash_flask_keycloak-1.3.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-22 10:40:10",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Ilnur786",
"github_project": "dash-flask-keycloak",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "dash-flask-keycloak"
}