Keycloak themes and extensions

Branding Keycloak's login, account and email pages and extending the server with SPI providers, with the upgrade cost each kind of customization carries.

Customizing the Keycloak login theme

Branding the Keycloak login pages: extending the default theme, overriding stylesheets versus templates, per-client login themes, packaging the theme as a JAR, and limiting template overrides so upgrades stay cheap.

Branding Keycloak quickly with Quick Theme

Using the Quick Theme preview feature to apply logos and colors to the login page and consoles without writing a theme: what it changes, how the generated JAR is deployed, and when a full custom theme is still needed.

Customizing Keycloak email templates

Changing the content and look of verification, password reset, invitation and event emails with an email theme: FreeMarker templates, message bundles per language, HTML and text versions, and testing delivery.

Building a custom Keycloak account console

Changing the self-service account console: theming the default console, reusing @keycloak/keycloak-account-ui components in your own React app, and what moving account features into your product involves.

Keycloak localization and translations

Serving Keycloak login, account and email pages in several languages: enabling internationalization per realm, default and supported locales, overriding message bundles, and right-to-left and translation upkeep.

Writing a custom Keycloak authenticator

Adding a sign-in step Keycloak does not ship, such as a risk check or an external verification service, with the Authentication SPI: authenticator and factory classes, forms, adding it to a flow, testing and upgrade exposure.

Writing custom Keycloak required actions

Forcing users through a step after login, such as accepting updated terms or confirming profile data, with the required action SPI: implementation, enabling the action, triggering it per user and application-initiated actions.

Custom token claims with Keycloak protocol mappers

Adding the claims applications need to tokens: built-in mappers for attributes, roles, groups and audiences, client scopes to control where they appear, script mappers in preview, and custom mapper providers.

Keycloak user profile and custom user attributes

Defining the attributes Keycloak stores for each user with the declarative user profile: validation, required fields per context, who can view and edit each attribute, unmanaged attributes and showing them on registration.

Customizing the Keycloak registration form

Changing self-registration: user profile fields, terms and conditions, email verification, custom form actions for extra checks, bot protection options and the theme templates involved.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.