Skip to main content
Version: 6.0.2

Keycloak Setup


This setup is recommended for local development only. It creates a Docker instance for Keycloak.

Prerequisites​

Environment Configuration​

  1. Ensure a Docker machine is running.
  2. Navigate to the Keycloak directory:
    cd {Your Directory}/forms-flow-ai/forms-flow-idm/keycloak
  3. Optional: Rename sample.env to .env. Skip this step to use default values.

Environment Variables​

Image

Starting the Keycloak Server​

Run the following command to start the server:

docker-compose up -d

Image

Note: Use --build to reflect changes, e.g., docker-compose up --build -d.

Stopping the Keycloak Server​

Run the following command to stop the server:

docker-compose stop

image

Health Check​

The Keycloak application should be accessible at http://localhost:8080.

Image

Login Credentials:​

  • Username: admin
  • Password: changeme

Adding a Custom Login Theme​

  • Log in to http://localhost:8080.
  • Navigate to Realm Settings > Themes > Login Theme > Select formsflow > Save.
  • Run docker-compose up --build -d to apply the changes.