Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.

edgar-simao/keycloak_extension_api

Repository files navigation

Keycloak Extension API

Service that extends the features of Keycloak by providing additional endpoints. The service connects directly to Keycloak's database.

Docker image available at: https://hub.docker.com/r/irpinesctec/keycloak_extension_api

Requirements

  • Python 3
  • Keycloak running based on a PostreSQL database
  • Check requirements.txt for additional package requirements. Can be installed through PIP or Conda.

Running

Natively

  1. Copy the .env.exampleand rename it to .env. Open the file and edit it to match your environment.

  2. Install requirements using your Python package manager of choice. With PIP: pip install -r requirements.txt

  3. python3 api.py

Docker

  1. Copy the db_connection.env.exampleand rename it to db_connection.env. Open the file and edit it to match your environment.

  2. Edit the docker-compose.yml to match your requirements`

  3. docker-compose up