Skip to content

Repository files navigation

🎨 Google Material 3 Keycloak Authentication Theme

Keycloak Material Theme

A Google Account-style authentication theme for Keycloak, built with Angular 21, Angular Material 3 (M3), and Keycloakify 11. Designed to replace Keycloak's default login, registration, and account management pages with a modern, responsive Material Design experience.

This project was primarily generated and refined with the assistance of GitHub Copilot (AI). Most pages, styles, and interactions were implemented through AI-guided development in VS Code.

Features

  • Material Design 3 with rose/pink primary palette, light/dark theme support
  • Responsive split-column card layout β€” brand column left, content right, full-width stack on mobile
  • Custom component pages covering the full authentication journey:
Page Keycloak Template
Login + Password login.ftl
Username-only login login-username.ftl
Password-only login login-password.ftl
Registration (multi-step) register.ftl
Reset Password login-reset-password.ftl
Update Password login-update-password.ftl
OTP Login login-otp.ftl
Configure TOTP (stepped) login-config-totp.ftl
Passkey Registration webauthn-register.ftl
Delete Credential delete-credential.ftl
Info / Error / Terms info.ftl, error.ftl, terms.ftl
  • Passkey (WebAuthn) support β€” Conditional UI on login, full credential registration flow
  • Font Awesome social provider branding + Material Icons for actions
  • Global Material-themed scrollbar
  • i18n-aware β€” uses Keycloak's built-in message bundles

Quick Start

pnpm install

Development

pnpm start          # Dev server
pnpm storybook      # Component stories

Lint & Build

pnpm lint                        # ESLint
pnpm build                       # Production build
pnpm build-keycloak-theme        # Build Keycloak theme .jar

Requires Maven for build-keycloak-theme.

Tech Stack

  • Angular 21 β€” standalone components, signals, @for / @if control flow
  • Angular Material 3 β€” mat-form-field, mat-theme tokens
  • Keycloakify 11 β€” Keycloak theme packaging
  • Vite 8 β€” build tooling
  • Storybook 8 β€” component development
  • pnpm β€” package manager

About

A Keycloakify based Material Design Keycloak theme.

Topics

Resources

Stars

Watchers

Forks

Releases

Contributors

Languages