Keycloak: Java extensions (providers)

This documentation is part of the Customize the appearance guide. View the full guide here: Easily brand your Keycloak login pages, account console, and emails on Stackhero: set your colors, logo, texts, and even create full custom themes using the built-in online editor..

👋 Welcome to the Stackhero documentation!

Stackhero provides a Keycloak cloud service that makes it simple to deploy a production-ready identity provider in just 2 minutes:

  • Unlimited users, realms, and clients
  • Supports OpenID Connect, OAuth 2.0, SAML 2.0, social login, LDAP, and Active Directory federation
  • Custom domain name with built-in HTTPS for secure access (for example, https://login.your-company.com)
  • Custom themes: easily brand your login pages, account console, and emails with an included online editor
  • Dedicated email server with SPF, DKIM, and DMARC, so account confirmations and password resets are handled for you
  • Built-in PostgreSQL database, with the administration console available on its own closable port
  • One-click updates keep your system current without manual intervention

Spend your time building, not configuring: you can try out Stackhero's Keycloak cloud solution in as little as 5 minutes.

The providers/ directory is for features that themes cannot provide: custom authenticators, user storage, event listeners, or protocol mappers.

Place your .jar file in this directory and restart your service. This restart takes a bit longer (about one minute) as Keycloak rebuilds itself to include the new extension. To remove an extension, delete the file and restart again.

You can also place theme .jar files here, but themes/ is preferred for themes: it requires no rebuild and lets you edit files afterwards.