dash-flask-keycloak


Namedash-flask-keycloak JSON
Version 1.2.1 PyPI version JSON
download
home_pagehttps://github.com/Ilnur786/dash-flask-keycloak
SummaryExtension providing Keycloak integration via the python-keycloak package to the Dash/Flask app
upload_time2024-03-26 10:18:06
maintainerNone
docs_urlNone
authorIlnur Faizrakhmanov, Emil Haldrup Eriksen
requires_python>=3.8
licenseMIT
keywords python dash flask keycloak pyjwt
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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/31/d3/94fb7ab4cfbc806e2870d8fabe92d36d60e580685c40ae5536f571ae0d57/dash-flask-keycloak-1.2.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.2.1",
    "project_urls": {
        "Homepage": "https://github.com/Ilnur786/dash-flask-keycloak"
    },
    "split_keywords": [
        "python",
        " dash",
        " flask",
        " keycloak",
        " pyjwt"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "db94c773e03f789e1729917b6b67c22669a5d34deb1ddff26f367b8d3b3a4c55",
                "md5": "4518047be40f80dbd84035ae30dc05ee",
                "sha256": "6f1afa13265cdcf28467769f4d3e2634f9f3e183f3154bb0ac5e2f87a2f85fa5"
            },
            "downloads": -1,
            "filename": "dash_flask_keycloak-1.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4518047be40f80dbd84035ae30dc05ee",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 8923,
            "upload_time": "2024-03-26T10:18:05",
            "upload_time_iso_8601": "2024-03-26T10:18:05.096126Z",
            "url": "https://files.pythonhosted.org/packages/db/94/c773e03f789e1729917b6b67c22669a5d34deb1ddff26f367b8d3b3a4c55/dash_flask_keycloak-1.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "31d394fb7ab4cfbc806e2870d8fabe92d36d60e580685c40ae5536f571ae0d57",
                "md5": "dced4501cf2bc9ffcb281ed08b622d73",
                "sha256": "906cd7a1923bfd65fe7c1ebc7a441e018a454a2c7042f982b5044d48d5407a88"
            },
            "downloads": -1,
            "filename": "dash-flask-keycloak-1.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "dced4501cf2bc9ffcb281ed08b622d73",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 8415,
            "upload_time": "2024-03-26T10:18:06",
            "upload_time_iso_8601": "2024-03-26T10:18:06.654387Z",
            "url": "https://files.pythonhosted.org/packages/31/d3/94fb7ab4cfbc806e2870d8fabe92d36d60e580685c40ae5536f571ae0d57/dash-flask-keycloak-1.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-26 10:18:06",
    "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"
}
        
Elapsed time: 0.20422s