This repository contains samples for the workshop API Security.
The samples run with Docker Compose. So please ensure you have docker installed in a recent version.
Start the examples by typing
docker compose up --build
from within the folder you cloned the repository.
You find the exercises in the corresponding branches
- Exercise JWT
- Exercise Client Credential Flow
- Exercise Excessive Data Exposure
- Exercise Rate Limiting
- Exercise Domain Object Security
The keycloak image used in some of the excercises is not compatible with the new M1 processor of Mac. In order to run the samples, you have to build the container from scratch:
git clone git clone https://github.com/keycloak/keycloak-containers.git keycloak/containers
docker build -t jboss/keycloak:14.0.0 ./keycloak