Skip to main content

Flask extension providing Keycloak integration via the python-keycloak package

Project description

This purpose of this library is 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dash-keycloak-0.0.1.tar.gz (3.5 kB view details)

Uploaded Source

File details

Details for the file dash-keycloak-0.0.1.tar.gz.

File metadata

  • Download URL: dash-keycloak-0.0.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.5rc1

File hashes

Hashes for dash-keycloak-0.0.1.tar.gz
Algorithm Hash digest
SHA256 32cdae27a3023213c1370753c9cbb3ed3f362bf6a5feb2aa0b06575e65a3b159
MD5 5b73f27cd87aa4b1538d42c060a5147c
BLAKE2b-256 645cbe6012194ba9b6f3bf1ae9ccaf505e8a3125ea906fbe824cba37a3c1de23

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page