Admin, Theming & Production
What this module covers
Section titled “What this module covers”This module takes you from a working Keycloak installation to one that is automated, branded, observable, and production-ready. The four pillars are:
- Admin REST API — every action you perform in the admin console is backed by a REST API. You can automate realm setup, user provisioning, and client configuration from scripts or CI pipelines instead of clicking through the UI every time.
- Themes — Keycloak renders its own login, account, and admin pages. You can replace these with your own templates to match your brand.
- Events & audit — Keycloak records login events and admin events. Enable them before you go live so you have an audit trail when something goes wrong.
- Production hardening — switching from
start-devto the optimisedstartmode, wiring in an external database, setting a fixed hostname, and terminating HTTPS correctly.
Lessons in this module
Section titled “Lessons in this module”| Lesson | What you will learn |
|---|---|
| Admin REST API | Get a token and automate with the Admin REST API |
| Themes | Customise login, account, and admin pages |
| Events & Audit | Enable and query login and admin events |
| Production Checklist | External DB, hostname, HTTPS, and optimised build |