Skip to content
Hands-on IT IT Drills
Cover: Keycloak hands-on

Training material

Keycloak hands-on

Identity and login from your first realm to LDAP

The notes app gets a login – Keycloak 26 with Postgres, roles and groups, OIDC and tokens by hand, oauth2-proxy in front of the web UI and an API that verifies tokens itself. Users from OpenLDAP and Active Directory, MFA and passkeys, custom flows, brokering, SAML and a theme, two instances behind TLS, export and upgrade, Terraform and the Keycloak operator on Kubernetes.

  • OIDC
  • LDAP
  • Active Directory
  • MFA
  • SAML
  • Terraform

Training plan

  1. Foreword
  2. Day 0: The Training Ground
  3. Day 1: First Start with Postgres
  4. Day 2: Users, Groups, Roles
  5. Day 3: OIDC and Tokens
  6. Day 4: notes with Login
  7. Day 5: Mappers, Scopes, Audience
  8. Day 6: OpenLDAP
  9. Day 7: User Federation with LDAP
  10. Day 8: Groups and Roles from LDAP
  11. Day 9: Active Directory with Samba
  12. Day 10: MFA, Password Policies, Brute Force Protection
  13. Day 11: Flows, Identity Brokering, SAML, Theme
  14. Day 12: Proxy, TLS, Two Instances, Export, Upgrade
  15. Day 13: Automation with REST, kcadm.sh and Terraform
  16. Day 14: The Keycloak Operator on k3s
  17. Day 15: Competition – Disaster Drills
  18. Appendix A: Cheat Sheet
  19. Appendix B: Final Exam