Skip to content

About

A batteries-included local Keycloak development environment for testing, demonstrations, and learning OpenID Connect (OIDC).

Resources

Stars

5 stars

Watchers

0 watching

Forks

Repository files navigation

Keycloak Playground

Local Keycloak 26 development environment for testing OIDC integrations.

What's included:

  • Keycloak 26 — with observability (Prometheus + Grafana), custom theme starter (Keycloakify), and OpenTofu provisioning
  • Test Client — FastAPI OIDC demo with Back-Channel Logout as onboarding reference for dev teams
  • Automation — User lifecycle management (CLI + webhook server) demonstrating workarounds for OIDC limitations

Documentation

📖 Full Documentation — organized using Diátaxis

Category Description
📘 Tutorials Step-by-step learning guides
📖 How-to Guides Task-oriented solutions
📚 Reference Technical specifications
💡 Explanation Design decisions and architecture

Services

Service URL Credentials
Keycloak http://localhost:8080 admin/admin
Test Client http://localhost:3000 —
Grafana http://localhost:3001 admin/admin
Prometheus http://localhost:9090 —

Quick Start

# Clone and start
git clone https://github.com/mkoertgen/keycloak-playground.git
cd keycloak-playground
docker compose up -d

# Provision demo realm
cd tofu && tofu init && tofu apply

See Getting Started Tutorial for full walkthrough.

For architecture overview and component details, see Architecture Reference.

Warning

This setup is for local development only. Not suitable for production:

  • H2 in-memory database
  • Default credentials (admin/admin, Password123!)
  • No TLS
  • start-dev mode

About

A batteries-included local Keycloak development environment for testing, demonstrations, and learning OpenID Connect (OIDC).

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages