Keycloak IAM & SSO Masterclass
Master Keycloak – in 3 days.
You don't just want to get Keycloak running – you want to do it right.
From deployment and high availability to OAuth 2 / OIDC fundamentals, authentication flows,
multi-tenancy and user federation: this Keycloak training covers everything you need to run
a professional, secure Keycloak environment.
Practical. Hands-on. With Europe's leading Keycloak expert.
Why this Masterclass?
I've been working with Keycloak since 2015 – as a developer, architect and consultant on real-world projects. What I share in this training isn't textbook knowledge: it's the solutions to problems you'll inevitably encounter in practice – and the mistakes you'd rather not make yourself.
Over three days, we build a complete Keycloak environment together from scratch. You leave with the knowledge and confidence to take full ownership of Keycloak projects.
The three training days at a glance
Day 1 – Deploy and operate Keycloak reliably
We start by setting up a Keycloak server from scratch – containerised with Docker, but with configuration options that transfer to any infrastructure (Kubernetes, Podman, or a classic filesystem deployment).
Because an authentication system can never go down, we configure a high availability cluster with a load balancer right from the start. We manage realm configurations as Config-as-Code using the Keycloak Terraform provider and the Admin CLI, so changes are traceable, versionable and repeatable. We close the day by setting up monitoring with system and event metrics, and running first performance tests.
Day 2 – Understand OAuth 2, OIDC & Keycloak configuration
Theory meets practice: we build a shared understanding of the OAuth 2 and OIDC specifications – including current best practices and deprecations – and apply it immediately on the running Keycloak server. Tokens, claims, client scopes and realm & client configuration are covered in depth.
Day 3 – User management, multi-tenancy & authentication flows
The most powerful part: we set up Organisations as a multi-tenancy concept, assign and invite users, and configure User Profiles with managed attributes, permissions and validators. We then connect LDAP as a User Federation source and configure external Identity Providers (Entra ID, social login, etc.) for Identity Brokering. You manage the lifecycle of your identities (Identity Governance & Administration, IGA) with Workflows. The day closes with designing complex authentication flows, usage of Passkeys and configuring Required Actions.
Agenda
Day 1 - Deployment, Operations, Observability, etc.
Server-Setup & -Configuration
- Keycloak server configuration and deployment (incl. database)
- Versions & upgrades
- Backup & recovery
Clustering and distributed Caching
- Configuration of a Keycloak cluster
- Adaptation / tuning of the (distributed) cache configuration
Realm configrations, config-as-code & import/export
- Config-as-code with the Keycloak Terraform provider
- Usage of the Keycloak admin CLI
- Realm export & import
- Import of pre-configured realms
Performance & metrics
- Load-/performancetests
- System metrics
- Event metrics
Day 2 - Fundamentals, Realms & Clients, etc.
Fundamentals & specifications
- Fundamentals about single sign on (SSO)
- Basic knowledge of the OAuth2, OpenID Connect (OIDC) and JSON Web Token (JWT) specifications
Realms & clients
- Principle of Keycloak realms and how to configue them
- First steps with tokens, claims and client scopes
- Client configurations (confidential/public) in Keycloak using the example of a distributed application
- Themeing the Keycloak forms/user interfaces
Day 3 - User management, multi-tenancy, authentication flows & required actions
User management and user sources
- Organizations, users, groups and roles in Keycloak
- Creating organizations for multi-tenancy
- Assigning and inviting users to organizations
- User profiles with managed attributes, authorizations, mandatory fields, validators
- Clarifying the differences between user federation / user storage and external identity providers
- Configuring an LDAP as a user federation
- Usage of custom user data sources
- Configuration of an external identity provider (identity brokering)
- Interaction between organizations and external identity providers
- Identity governance and administration with workflows
Authentication flows & required actions
- Design and configuration of various authentication flows
- Extending the authentication options using custom extensions
- Use of required actions
- Configuration of various authentication policies
What you'll be able to do after this Masterclass
- ✅ Deploy Keycloak production-ready – highly available and performant from day one
- ✅ Size and configure clusters, caching and HA correctly
- ✅ Manage realm configurations as code – with the Terraform provider and Admin CLI
- ✅ Explain and correctly apply OAuth 2, OIDC and JWT
- ✅ Implement multi-tenancy with Organisations – including user invitation and Identity Brokering
- ✅ Cleanly integrate LDAP and other user sources
- ✅ Perform Identity Governance and Administration (IGA) with Workflows
- ✅ Design authentication flows and extend them with custom extensions
- ✅ Monitor Keycloak environments – read metrics, run performance tests
Who is this training for?
- …are a developer or architect who wants to use Keycloak in a project or understand it more deeply,
- …are a DevOps engineer who needs to deploy and operate Keycloak reliably and securely,
- …have been "getting by" with Keycloak so far, but know there's a lot more to unlock,
- …want to build Keycloak expertise within your team and be able to explain it to others.
Learning objectives
- Deployment and highly available, fault-tolerant cluster operation of a Keycloak system
- Config-as-Code with the Keycloak Terraform provider
- Using the Keycloak Admin CLI
- Import/export of realm data
- Testing and monitoring system and event metrics
- OAuth 2, OIDC & JWT – fundamentals, best practices, grant types, token propagation
- Keycloak configuration: realms, organisations, clients, users, groups, roles
- Configuring User Profiles and Organisations
- Using User Federation and Identity Providers
- Configuring Identity Governance and Administration
- Designing authentication flows and using Required Actions
- Customising and theming a Keycloak environment
What you need to bring
Required:
- Notebook/Laptop with local admin rights
- Docker and Docker Compose V2 – installed and running
- Texteditor (e.g. VS Code, Notepad++, ...)
- Internet access (check proxy/firewall/VPN configurations etc. if necessary)
Docker Desktop may require a paid licence depending on your platform – please check in advance. Podman may work as an alternative but will not supported.
Dates
Public dates
- 20.04.2027 – 🇩🇪 Online via Socreatory
- 14.09.2027 – 🇩🇪 Online via Socreatory
- 30.11.2027 – 🇩🇪 Online via Socreatory
- More dates available on request.
In-house training for your team
Just get in touch; I typically reply within 24 hours.
Contact
Please contact me directly via the following form if you are interested in training Keycloak IAM & SSO Masterclass
I'm looking forward to your message and will get back to you as soon as possible!