Pocket ID vs Keycloak

Pocket ID suits small teams that want passkey-only OpenID Connect sign-in with little to run. Keycloak suits teams that need SAML, LDAP or AD federation and a clustered, database-backed deployment.

On this page

When to choose Pocket ID vs Keycloak

Choose Pocket ID when a small team needs OpenID Connect and OAuth 2.0 sign-in for a few applications and every user can sign in with a passkey. The project describes it as a simpler alternative to Keycloak for simple use cases, and passkeys are its only sign-in method, so there are no passwords for users to manage. Choose Keycloak when the estate is larger and needs SAML 2.0 for applications that cannot speak OIDC, brokered logins to an external identity provider, or users federated from LDAP or Active Directory. Keycloak fits when those requirements are fixed and a team will own a clustered deployment. Before deciding, list every application with its protocol and name the directory that holds the authoritative user accounts.

The decision turns on protocols and user sources first. Pocket ID covers OpenID Connect and OAuth 2.0 for passkey users, while Keycloak adds SAML 2.0, identity brokering and user federation from LDAP or Active Directory. If one application needs SAML or your staff accounts stay in a directory, that requirement alone points to Keycloak. The second point is the production database. Keycloak needs a relational database in production, with PostgreSQL 14 to 18 among the supported engines, and its documented high availability designs both depend on a synchronously replicated database. Confirm which database engine your team already runs and plan its backups before you start, because the development file database is for testing only.

The third point is who will run it. Keycloak plans four minor releases a year, and its project says breaking changes in a minor release are opt-in, so the upgrade owner needs a release calendar and a test environment. The Keycloak Operator, installed through the Operator Lifecycle Manager, is the recommended route on Kubernetes or OpenShift if your team already operates clusters. The latest Pocket ID release is v2.19.3, published November 15, 2026, and the project ships a docker-compose.yml file and a Helm chart. Ask the Pocket ID maintainers and your own platform team to confirm the high availability and backup approach that fits your environment before you choose a deployment shape.

Pocket ID vs Keycloak by team scenario

This table matches common team scenarios to the platform with the better fit and states the condition under which each one wins. Pocket ID is documented here for OpenID Connect, OAuth 2.0 and passkey sign-in only, so any row that depends on SAML, directory federation or an operator needs a check in its repository before you commit. The main takeaway is that Pocket ID suits small passkey-based OIDC deployments, while Keycloak fits protocol breadth, directory integration and Kubernetes operations.

Team scenarioBetter fitWhy and the condition
Passkey-only pilot for a small set of OIDC appsPocket IDPasskey-only sign-in fits when every user can register a passkey. Confirm recovery options in the repository.
Docker-first team with simple OIDC appsPocket IDWins when apps need only OIDC and a Docker install. The README calls it a simpler alternative to Keycloak for simple cases.
SaaS vendor that requires SAMLKeycloakKeycloak supports SAML 2.0 alongside OpenID Connect. Pocket ID is documented for OIDC and OAuth 2.0, so confirm SAML support in the repository.
Workforce accounts in Active Directory or LDAPKeycloakKeycloak federates users from LDAP or Active Directory. Confirm any Pocket ID directory support in its repository.
Kubernetes platform team running the Keycloak OperatorKeycloakWins when realm and client settings should live as Kubernetes resources. Confirm whether Pocket ID offers an operator.
Buyer who wants a vendor-supported Red Hat buildKeycloakWins when a vendor-backed support contract is a purchasing rule. Confirm current version and terms with Red Hat.

How each platform is built, packaged and operated

Pocket ID and Keycloak differ most in what you install and what you must run beside them. Pocket ID is packaged for container-based self-hosting, while Keycloak needs a production relational database and, for high availability, a synchronously replicated one. The cards below set out each choice and the day-to-day work it creates.

Pocket ID install paths

Pocket ID is self-hosted only, and its README describes no managed cloud service, so the hosting decision is yours from day one. Docker is the recommended install method, and the repository includes a docker-compose.yml and a Helm chart. Before you commit to Kubernetes, check the Helm chart against your own image review and configuration standards, and confirm how the maintainers handle chart upgrades.

Pocket ID repository

Passkey-only sign-in

Pocket ID supports only passkey-only authentication, so users sign in without passwords and the login model has no password fallback to configure. That simplifies the sign-in surface, but it moves the hard questions to enrollment and recovery. Confirm how a user enrolls a passkey, what happens when a device is lost, and how your help desk verifies identity without a password. Test shared workstations and users on managed devices that may block passkey creation before you set a rollout date.

Relational database required

Keycloak needs a relational database in production, and its default dev-file database is for development only. Its supported engines include PostgreSQL 14 to 18, MariaDB, MySQL, Microsoft SQL Server, Oracle Database, EnterpriseDB Advanced, Amazon Aurora PostgreSQL and Azure SQL. The engine you pick sets which backup, patching and version tracking process your database team owns. Check your chosen engine and version against the database guide for the Keycloak release you plan to run. Ask Pocket ID's maintainers what database, if any, it needs so the two operating comparisons are comparable.

Keycloak database guide

High availability needs synchronous replication

Keycloak documents three high availability architectures: a single cluster optionally spread across availability zones, multi-cluster deployments (v2) without an external Infinispan cluster, and the deprecated multi-cluster v1 that runs a separate Infinispan cluster per site. Both supported designs need a synchronously replicated database. That means your database platform, not only the Keycloak nodes, sets the availability target and the failover behavior you can test. Confirm with your database team whether synchronous replication across your zones or sites is available and what it adds in latency before you commit to a design.

Keycloak HA overview

Operator install paths

On Kubernetes and OpenShift, the Keycloak Operator is installed through the Operator Lifecycle Manager, which Keycloak recommends, or with kubectl. An experimental Helm chart also exists, so confirm its support status before using it in production. The Operator manages Keycloak, KeycloakRealmImport, KeycloakOIDCClient and KeycloakSAMLClient custom resources, so realm and client settings can be declared in version-controlled manifests. Confirm that your GitOps tooling handles these resources and their upgrade path, and compare that with the tooling your platform team already runs for Pocket ID's Helm chart.

Keycloak Operator install

Day-two upgrade cadence

Since Keycloak 26.0, the project plans four minor releases a year and a major release every two to three years, and says breaking changes in a minor release will be opt-in. That gives you a predictable calendar to plan for, but each minor release still needs a staging test against your realms, clients and database. Current Keycloak is 26.8.1, published October 13, 2026, so check your deployed version against the current release. Ask Pocket ID's maintainers for its release cadence and how they flag breaking changes before you set a patch window.

Keycloak release updates

Pocket ID vs Keycloak feature by feature

This table compares Pocket ID and Keycloak on licensing, release status, protocols, sign-in methods, directory and brokering support, administration, databases and Kubernetes deployment. Where a Pocket ID cell tells you to confirm something, check the repository or ask the maintainers before you rely on it. The main takeaway is that Pocket ID is passkey-only and centered on OpenID Connect, so directory federation, SAML and high availability need verification before you choose it over Keycloak.

CapabilityPocket IDKeycloak
LicenseBSD 2-Clause License, per the repository LICENSE file.Apache-2.0, per the LICENSE file in the Keycloak repository. Confirm which terms apply to any Red Hat build you buy.
Latest releasev2.19.3, published 2026-11-15.26.8.1, published October 13, 2026. Minor releases are planned four times a year.
ProtocolsOpenID Connect and OAuth 2.0. Confirm whether any other protocol is supported.OpenID Connect, OAuth 2.0 and SAML 2.0.
Passkey and password loginPasskey-only sign-in. Confirm whether any password or fallback method exists before you rely on it.Confirm passkey and password options for version 26.8.1 in the server administration guide.
LDAP or AD federationConfirm in the repository whether directory federation exists. Plan for it if your users sit in Active Directory.Federates users from LDAP or Active Directory.
SAML and identity brokeringConfirm SAML support and upstream provider brokering in the repository. Treat both as unverified until checked.Brokers logins to external OpenID Connect or SAML identity providers and acts as a SAML 2.0 provider.
Admin console and fine-grained authorizationConfirm the admin interface and any authorization model in the repository documentation.Includes an admin console and fine-grained authorization services.
Production database and high availabilityConfirm the supported production database and any clustering or high availability pattern with the maintainers.Needs PostgreSQL 14 to 18 or another listed production database. High availability designs need a synchronously replicated database.
Kubernetes and managed cloudDocker is the recommended install, and a Helm chart is included. No managed cloud is described. Confirm operator and hosting options.The Keycloak Operator installs through Operator Lifecycle Manager or kubectl. Confirm managed cloud options with Keycloak or Red Hat.

What each license covers and what is paid for

Pocket ID is released under the BSD 2-Clause License, with the copyright notice for 2024 held by Elias Schneider in the repository's LICENSE file. That license lets you run, modify and redistribute the code inside your own infrastructure without a license fee. The README presents Pocket ID as a simpler alternative to Keycloak and ORY Hydra for simple use cases, and it describes no managed cloud service, so you operate the software yourself. No paid edition is documented for Pocket ID, so confirm with the maintainers that none is offered or planned before you budget for one.

  • License terms: BSD 2-Clause permits use, modification and redistribution, provided the copyright notice and license text stay with copies of the code.
  • Release line: The latest GitHub release is v2.19.3, published 2026-11-15. Check it against your own patching and upgrade schedule before you standardize on it.
  • Install method: Docker is the recommended install path, and the repository includes a docker-compose.yml and a Helm chart for Kubernetes.
  • Recurring costs: Without a vendor subscription, the recurring cost is your hosting, backups, monitoring and the staff time needed to patch and operate the service.
  • Sign-in scope: Pocket ID supports only passkey authentication, so users without compatible devices need a fallback plan before cutover.

Ask the maintainers whether any commercial support agreement exists, and confirm that passkey-only sign-in fits your user population.

What drives the running cost of each

Infrastructure is the recurring cost that architecture decides. Pocket ID runs as a single self-hosted service, and its repository ships a docker-compose.yml and a Helm chart, so the monthly bill covers compute, storage, backups and TLS termination in your own accounts. Keycloak needs a relational database in production, and both of its high availability designs require a synchronously replicated database. Each extra node, database replica and load balancer adds spend every month, and so does the failover testing that shows the cluster works. Ask your team to price the topology in writing: node count, the database engine you already operate or license, the replication setup and the non-production environments that mirror production. Skills are recurring too, because someone must run the database, the cluster and the Keycloak Operator if you use it. Confirm what the current Pocket ID release requires for more than one instance and for its data store before you size it.

Upgrades are the cost most often left out of a first estimate. Since Keycloak 26.0, the project plans four minor releases a year and a major release every two to three years, and breaking changes in a minor release are opt-in, so you choose when to take them (Keycloak release policy). The current release, 26.8.1, was published on October 13, 2026. Every minor upgrade still needs a test pass against your realms, clients, federation links and any custom code, and someone must own that work and the rollback plan. Pocket ID's latest release is v2.19.3, published 2026-11-15. Review its release notes for each version you expect to adopt, and confirm whether any change needs manual data steps. Ask every vendor and integrator to describe the upgrade path from your current version, how long a staging rehearsal takes, and who pays for retesting when a release breaks something.

Both projects are open source, so neither license charges per user, and the recurring lines are infrastructure, people and any support contract. For Keycloak, one support route is the Red Hat build of Keycloak, Red Hat's supported distribution based on the open source project, which replaces Red Hat Single Sign-On. Its product page showed 26.6 as the latest version, so confirm which build a support contract covers. For Pocket ID, ask the maintainers and any integrator whether paid support exists and what it covers. DeployOpen does not publish a price list, and a quote follows from a written scope. Request one line per component: infrastructure, database, staging, upgrades and retesting, support and retainer. Mark each line as one-time or recurring, state the node and replica assumptions, and ask every platform for the same breakdown so the figures compare like for like.

Which path a team takes through the decision

The path starts with whether every user can sign in with a passkey, because Pocket ID supports only passkey authentication. Any team with users who cannot use a passkey goes to Keycloak. Passkey-only teams then ask whether they need SAML, LDAP, Active Directory federation or identity brokering, which Keycloak covers, so a yes leads to Keycloak. If not, the last question is whether the team can run Keycloak with a relational database and high availability, which needs a synchronously replicated database. If it cannot, Pocket ID is the simpler candidate. If it can, the path ends in a confirm-first step: check Pocket ID's database, high availability and client protocol support in its documentation before choosing.

Decision path from passkey coverage to Keycloak, Pocket ID or a confirm-first step.

Moving between Pocket ID and Keycloak: what transfers and what is rebuilt

Moving between these two platforms is mostly an inventory and protocol exercise, followed by a passkey enrollment plan that teams often underestimate. Working through the steps in order means each application moves once, with a tested sign-in and a rollback path. The result is a cutover record for every app and a retired service with no undocumented clients left behind.

  1. Inventory clients, redirect URIs and scopes

    The platform team lists every application that signs users in through the current service, with a named owner for each. For every OpenID Connect client, record the client ID, redirect URIs, requested scopes, group or role claims, and whether the client is confidential or public. Also note the user groups and token attributes each app reads. The output is one inventory sheet per environment, signed off by each application owner. The step is done when every application seen in the login logs has a matching inventory row.

  2. Find protocol and directory gaps

    Check whether any application needs SAML, LDAP or Active Directory integration, because the target may not cover it. Keycloak supports OpenID Connect, OAuth 2.0 and SAML 2.0, brokers logins to external OpenID Connect or SAML providers, and federates users from LDAP or Active Directory. Pocket ID is documented as an OpenID Connect and OAuth 2.0 provider, so confirm with the vendor before assuming any other protocol is available. Record each gap with its owner and a decision. The step closes with a gap list that the security and platform leads have both reviewed.

  3. Stand up the target in parallel

    The platform team deploys the target on a separate hostname and leaves the current service running. Pocket ID is installed with Docker, using the repository's docker-compose.yml, or with its Helm chart. Keycloak needs a supported relational database in production, such as PostgreSQL 14 to 18, and its default dev-file database is for development only. Set up TLS, backups and admin access before any application points at the new system. The check is a successful test sign-in from a staging client, plus a restore test of the new database.

  4. Re-register clients in the target

    For each inventory row, create the client in the target with the same redirect URIs, scopes and claim mappings. In Keycloak, clients can be managed as code through the Keycloak Operator's KeycloakOIDCClient resource, which helps keep staging and production identical. Store new client secrets in the team's secret manager and keep them out of tickets and chat. Client definitions transfer as settings you recreate, so compare each field against the inventory. Confirm that the target issues the same subject identifiers, since many apps match accounts on them. The output is a client register where every row has a tested staging sign-in.

  5. Plan passkey re-enrollment early

    Passkeys are tied to the domain they were registered on, so a move to a new domain means existing passkeys cannot serve the target. Treat passkey credentials as rebuilt during the move, since they are not part of the client definitions you carry over. Pocket ID supports only passkey authentication, so every user must enroll a passkey before signing in to any application behind it. Plan enrollment waves by application group, a help desk script for lost devices, and a fallback path the security team approves. The step is done when the plan has an owner, a user notice and a tested enrollment on each device type in use.

  6. Cut over one application at a time

    Move each application in the order set by the inventory and the enrollment plan, starting with a low-risk app. Point the app's configuration at the target client, and keep the old client enabled so rollback is a single configuration change. Watch token issuance and sign-in errors in both services during the window the app owner agrees to. Confirm that users in each enrollment wave can sign in before moving on. The output is a cutover log entry per application with the change time, the owner's sign-off and the tested rollback steps.

  7. Rebuild monitoring and retire the old service

    Rebuild access policies, admin settings, app configuration and alerts in the target, since the move does not carry these over. Set alerts for sign-in failures and admin changes, and test each one. Before shutdown, identify the logs the old service produced and export the records your audit and retention requirements need. Once every application is cut over and the old service is idle, revoke its secrets, remove its DNS records and shut it down. The output is a decommission record listing the log export location, the revoked secrets and the shutdown date.

Where Pocket ID and Keycloak projects run long

For Pocket ID, the long part of a project is rarely the install. It is the policy work around passkeys and the users who cannot use one. Pocket ID accepts only passkey sign-in, so the first decision is the enrollment policy: who registers a passkey, when, on which device, and what happens when a passkey is lost. Write that policy down before go-live, and make sure the help desk follows the same steps. The second cost is onboarding users without passkey-capable devices. Confirm which browsers, operating systems and hardware keys your staff and contractors use, then decide whether those users get an alternative path or are excluded from the service. The third cost is application integration. Each relying application needs its own OpenID Connect client registration, redirect URIs and claim mapping, so the effort grows with the number of applications you supply.

For Keycloak, the time goes into platform design before any application is connected. Start with the database. Keycloak needs a relational database in production, and the Keycloak database guide lists supported engines, including PostgreSQL 14 to 18. High availability adds a second decision. Keycloak documents a single cluster that can span availability zones and a multi-cluster design without external Infinispan, and both supported designs need a synchronously replicated database. Then choose the deployment path. The Operator is installed through Operator Lifecycle Manager, which Keycloak recommends, or with kubectl, and the Helm chart is experimental. Realm structure and federation design, including LDAP or Active Directory user federation and brokering to external identity providers, shape everything that follows.

Keycloak's release cadence sets the third block of work. Since Keycloak 26.0, the project plans four minor releases a year, and breaking changes in a minor release are opt-in. The upgrade plan should name the minor line you track, describe how realm exports and custom providers are tested against each release, and state who approves the change. Confirm your own change window and rollback steps before the first upgrade. Scope for either product is agreed in writing before work starts, and the duration depends on the app count and identity sources you supply. Ask any implementer to list the applications, federated directories and database engine they assume, because those three inputs drive most of the schedule.

Pocket ID vs Keycloak questions buyers ask first

Is Keycloak free to run on our own infrastructure?

Yes, the software carries no license fee: Keycloak is licensed under Apache-2.0, and the current release is 26.8.1, published October 13, 2026, according to the Keycloak LICENSE file. Your costs are the hosts or cluster, a production database, the staff time to install, upgrade and monitor it, and the backup and testing you add. Infrastructure and staff time recur every month, and they grow with the number of environments and the availability you need. If you want a vendor-supported distribution, the Red Hat build of Keycloak is Red Hat's supported distribution based on the open source project and replaces Red Hat Single Sign-On. Its terms and price come from Red Hat, so request a written quote. Pocket ID is also under a permissive BSD 2-Clause license, so for both platforms the running costs decide the comparison. Ask any provider to split the quote into one-time setup and recurring support.

Can Pocket ID serve users from Active Directory?

Verify this before you choose Pocket ID for an AD estate. Pocket ID is an OpenID Connect and OAuth 2.0 provider that supports only passkey authentication, so users sign in without passwords. You should confirm, in the Pocket ID repository and in writing from the project, whether it can read accounts from Active Directory or LDAP at all. Also ask how AD groups map to its access rules and what happens to users who have not enrolled a passkey. Keycloak takes a different route: it federates users from LDAP or Active Directory and can broker logins to external OpenID Connect or SAML identity providers. If AD is your system of record, settle the directory design first, then pick the identity platform that fits it.

What drives the effort to run Keycloak in production?

Most of the effort comes from the production database, the high availability design and the upgrade cadence. Keycloak needs a relational database in production, and the supported options include PostgreSQL 14 to 18, MariaDB, MySQL, Microsoft SQL Server, Oracle Database and Amazon Aurora PostgreSQL. The default dev-file database is for development only, according to the Keycloak database guide. Three drivers add the most work:

  • High availability: three architectures are documented, and both supported designs need a synchronously replicated database.
  • Deployment model: the Keycloak Operator is installed through Operator Lifecycle Manager, which Keycloak recommends, or with kubectl.
  • Upgrades: the project plans four minor releases a year and a major release every two to three years, and it says breaking changes in minor releases will be opt-in, so someone still has to schedule and test each upgrade.

Ask your team which of these it already runs well, and scope each one per environment.

How long does a Pocket ID or Keycloak migration take?

No duration is given here because a credible timeline depends on scope, and a number without scope would mislead you. Migration length is driven by how many applications move, which protocols each one uses (OpenID Connect, OAuth 2.0 or SAML 2.0), where users and groups live, how many custom login flows or token rules must be rebuilt, how much testing each application needs, and how many cutover windows the business accepts. An app with a simple OIDC client is a different job from one that reads custom claims or depends on a legacy directory. DeployOpen agrees scope, deliverables and timelines in writing before work starts, so ask for an itemized application list and an inventory of identity sources. The quote and timeline then follow from that written scope.

What does an identity migration need from our own team?

Your team supplies the decisions and access that no outside party can supply for you. Plan for these owners before the work starts:

  • Application owners who confirm redirect URIs, claims, logout behavior and test accounts for each app
  • Directory and HR owners who explain user sources, group membership and joiner, mover and leaver processes
  • Platform engineers who provide hosts or a cluster, the database, DNS, certificates and backup targets
  • Security approvers who sign off on access policy, admin roles and audit logging

Name one owner who accepts the cutover plan and the rollback steps. Their availability often sets the pace of the project, so confirm it in the written scope before you sign.

Can our own team run this identity migration without outside help?

Yes, a team can do this without outside help if it already runs production identity or Kubernetes services and has people who understand OpenID Connect client settings and database operations. The first migration often surfaces gaps, such as backup restores that were never tested or group mappings nobody documented, so plan time for that learning. If the team lacks those skills or capacity, outside help can cover parts of the work. DeployOpen plans, implements, customizes, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms in your own cloud accounts, data centers or air-gapped networks. Most engagements are fixed-scope, and ongoing support, upgrades and continuous testing are available as retainers. You can also split the work, keeping routine operations in house and buying the migration as a scoped project.

How DeployOpen helps choose, implement or migrate

DeployOpen helps teams decide between Pocket ID and Keycloak, then plans, implements and integrates the option you choose inside your own cloud accounts, data centers or air-gapped networks. Each engagement starts from a written scope, and the handover includes configuration, documentation and evidence your security and compliance teams can review.

How we scope

  • The written scope names which identity sources, applications and protocols Pocket ID or Keycloak must cover.
  • Scope records whether you need SAML or LDAP and Active Directory federation, which Keycloak documents.
  • Scope confirms whether passkey-only sign-in fits every user group, because Pocket ID supports passkey authentication only.

How we build

  • For Keycloak, we build on a supported production database, because the dev-file database is for development only.
  • For Pocket ID, we deploy with Docker or the Helm chart, and configure the self-hosted instance inside your environment.
  • Builds cover OIDC client registration, application integrations and admin access controls, as the written scope defines.

How we hand over

  • Handover documents configuration, runbooks and upgrade steps so your own team can operate the platform.
  • For Keycloak, documentation covers the operator install path, whether through OLM or kubectl, and HA database design.
  • Compliance evidence records configuration and access controls for your team; DeployOpen does not issue audit reports.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • The project plans four minor releases a year, so upgrade planning recurs for Keycloak.
  • Pocket ID's Docker and Helm deployment files should be pinned and reviewed at each upgrade in your environment.

Sources and further reading

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.