bworkx.

Identity & access

Keycloak implementation & migration

The open-source identity server most enterprises already trust, delivered without the operational surprises.

Prefer to talk? Book a 30-minute call.

Who it is for

  • Enterprises standardising on Keycloak for workforce or customer identity.
  • Teams migrating from Okta, Auth0, AD FS, or Entra ID without a big-bang cutover.
  • Organisations that need SSO across ERP, CRM, support, and custom applications.
  • Frappe and ERPNext deployments that need one identity layer in front of the business apps.

When it is not the right fit

  • A fully managed identity service with no operational owner.
  • A request for a vendor support contract or a 24/7 on-call service.
  • An identity programme with no access to application owners or directory data.

Scope

What is included

The scope is written down before work starts. Anything outside it is a change, with a cost and a date.

Architecture and sizing for the realm, database, clustering, and backup model.

Realm, client, role, and group design aligned to the business, not a demo tenant.

OIDC and SAML integrations for the applications in scope.

LDAP or Active Directory federation, including attribute and group mapping.

Identity brokering to an existing IdP where a staged migration is safer.

MFA, password policy, session, and account-recovery configuration.

Theme and custom extension work where standard configuration is not enough.

Migration plan, cutover rehearsal, hardening review, and an upgrade runbook.

Delivery

How an engagement runs

  1. Assess

    We review the current IdP, applications, directories, user populations, and constraints. The output is a scope and a migration strategy, not a product demo.

  2. Architect

    We design realms, clients, roles, groups, federation, and the database and clustering model. The design is written down before configuration starts.

  3. Implement

    We configure the realm and integrate the first application cohort. Standard flows are preferred; custom providers or themes are documented as long-term costs.

  4. Migrate

    Users, credentials, and application trust are migrated in stages. Password hashes, MFA enrollment, and session cutover are handled explicitly rather than assumed.

  5. Harden

    We review TLS, headers, admin access, brute-force controls, token lifetimes, secrets, backup, and restore. The hardening checklist is part of the handover.

  6. Hand over

    Your team gets the runbook, upgrade path, monitoring guidance, and a tested restore procedure. The platform should not depend on us being reachable.

Why Keycloak

Keycloak is the most established open-source identity server. It is Apache-2.0 licensed, a CNCF incubating project, and has a large contributor base with Red Hat as a major contributor.

That matters for a platform that sits in front of every application. You want a project with a long release history, a broad protocol surface, and a community that has already met most of the edge cases.

What implementation actually means

A working demo takes an afternoon. A production identity service takes longer.

  • Realm and client design — one realm or many, how clients are registered, which roles are shared, and how tenants are separated.
  • Federation — LDAP or Active Directory group mapping, attribute mapping, and the sync behaviour when a user changes department.
  • Identity brokering — using an existing IdP during migration instead of forcing a weekend cutover.
  • MFA and recovery — enrolment, reset, lost-device handling, and the support process behind it.
  • Operations — database, clustering, backup, restore, monitoring, and a tested upgrade path.

The configuration is not the hard part. The hard part is deciding how the business wants identity to work, then making the platform match that decision.

Migration without a big bang

A migration is a sequence of trust changes. We move applications in cohorts, keep the old IdP available while the new one proves itself, and define the rollback before the first cutover.

User migration is handled explicitly:

  • Which users exist, and which are stale?
  • Can password hashes be migrated, or is a reset required?
  • What happens to MFA enrollment?
  • Which service accounts and integrations need new credentials?
  • Who signs off that a cohort is complete?

The answers are written down. A migration that assumes they will sort themselves out is a migration that slips.

Hardening and operations

A default Keycloak install is a starting point, not a finished service. We review admin access, TLS, headers, token lifetimes, brute-force controls, secrets, backup, and restore.

The handover includes an upgrade runbook. Keycloak releases regularly; an identity platform that cannot be upgraded safely becomes a liability.

What this service is not

It is not a managed hosting service, a 24/7 support contract, or a licence resale. It is implementation and professional services on the open-source edition, delivered into infrastructure you control.

Related work

See the approach in practice

Lab builds use synthetic data in the bworkx environment. Reference methods describe how the work is scoped and delivered. Neither is a client case study.

Open-source IAM reference architecture

Reference architecture — realms, federation, MFA, high availability, and migration. Not a client engagement.

Read more

Related reading

The IAM assessment checklist

Eight areas to review before choosing an identity product.

Read the article

Questions

Before you ask

Is Keycloak free?

Keycloak is Apache-2.0 licensed, so there is no per-user licence from the project. You still pay for hosting, implementation, migration, and internal operations. We scope those costs before work starts.

Can you migrate us from Okta, Auth0, AD FS, or Entra ID?

Yes, with a staged plan. Applications, users, and trust relationships can be migrated incrementally. Password hashes, MFA enrollment, and vendor-specific features need a case-by-case review, and we will tell you what will not carry over before you commit.

Do you provide 24/7 support?

No. We provide implementation, migration, hardening, and handover. Ongoing support can be scoped as a separate agreement, but it is not a vendor 24/7 support contract.

Do you host Keycloak for us?

We deploy to infrastructure you control. We do not operate a managed identity service, which keeps identity data inside your environment and avoids a paid hosting dependency.

Can you build custom themes and extensions?

Yes, where standard configuration is not enough. Every custom theme or provider is documented with its upgrade risk, because Keycloak upgrades are the main long-term maintenance cost.

Identity & access

More in this practice

Other services in this practice. Each is scoped separately.

IAM assessment & roadmap

A vendor-neutral review of identity, SSO, MFA, provisioning, and access governance — with an open-source and cloud IAM product shortlist and a sequenced roadmap.

  • An application inventory with owners, protocols, user populations, and criticality.
  • A current-state map of authentication, directories, MFA, and password flows.
  • A joiner, mover, and leaver review, including provisioning and deprovisioning gaps.
  • An access-review and privileged-access assessment.
See how it works

Authentik implementation

SSO, forward auth, LDAP, and SCIM for internal applications — with a clean deployment and a maintainable flow design.

  • A deployment model for server, worker, database, and backup.
  • A flow design for login, MFA, recovery, and application access.
  • OIDC and SAML integrations for the applications in scope.
  • Forward-auth or proxy protection for applications without native SSO.
See how it works

Zitadel for multi-tenant SaaS

Multi-tenant identity for B2B SaaS: organizations, delegated administration, OIDC/SAML, and API-first automation.

  • A tenant model covering organizations, projects, roles, and delegated administration.
  • OIDC and SAML application configuration for the product and internal tools.
  • Branded login and account experience within the platform’s theming model.
  • Terraform or API automation for tenant and application provisioning.
See how it works

Next step

Start with the situation, not the solution.

Describe what is happening today, what has been tried, and what a good outcome looks like. We will tell you whether this service is the right fit.