Back to directory

Security & Privacy · Identity & Access Management (IAM)

Pocket ID

A passkey-first, self-hosted OpenID Connect provider

Pocket ID is a self-hosted OpenID Connect and OAuth 2.0 provider for applications that support standard identity flows. It is maintained by an open-source community led by stonith404, licensed under BSD-2-Clause, and designed for passkey authentication. The project publishes Docker images and binaries, with no hosted service presented as its primary offering.

Key facts

License
BSD-2-Clause
Main language
Go, TypeScript, Svelte
Maintainer
Pocket ID community, led by stonith404
First released
2024
Latest release
v2.19.1, October 22, 2026
GitHub stars
9.7k, October 2026
Hosted option
None presented; self-hosted

What Pocket ID is

Pocket ID is an OpenID Connect Certified and OAuth 2.0 provider for applications that need passkey sign-in. The repository was created on August 11, 2024, and identifies stonith404 as its leading contributor, with 1,032 contributions listed. The repository lists 9,667 stars and a BSD 2-Clause Simplified License. The project is aimed at simple self-hosted deployments, especially homelabs and applications that can use OIDC. Its defining constraint is also its main design choice: Pocket ID supports passkey authentication rather than passwords. That keeps the identity surface focused, while requiring administrators to plan authenticator enrollment and account recovery around WebAuthn credentials. Administrators must also ensure that connected applications support the selected standards and that users can access an enrolled authenticator during routine sign-in.

How it works

The first-run workflow begins with Docker Compose or a standalone binary. An administrator sets APP_URL and ENCRYPTION_KEY, starts the service, opens the setup page over HTTPS, creates the first account, and registers a passkey. The administrator then connects applications through OIDC and configures access using users or groups. Pocket ID supports applications, APIs, scoped authorization, and group-based access in its documentation. Users authenticate with a platform passkey or security key, then authorize connected clients through the standard identity flow. The passkey-only model removes password storage and password resets, but it makes device availability, recovery procedures, and secure origin configuration central operational concerns.

Architecture and recent releases

Pocket ID combines a Go backend with a SvelteKit frontend, and the frontend is embedded into the backend binary. A built-in SQLite database supports the single-program installation, while PostgreSQL is supported as an alternative database. Docker images are published through GitHub Container Registry and Docker Hub. The service listens on port 1411 and stores its database and uploads in a data directory. The v2.19.1 release on October 22, 2026, updated Go, Alpine, and distroless image bases. The v2.19.0 release added configurable login notifications, searchable applications, recommended WebAuthn algorithms, forced email verification, scope selection, and security fixes. Releases include binaries for Linux, macOS, Windows, FreeBSD, and OpenBSD.

License and pricing

BSD-2-Clause permits commercial use, modification, redistribution, and private deployment, subject to its copyright notice and disclaimer requirements. Pocket ID is distributed as free software, and its installation documentation describes self-hosting rather than a required subscription. Operators provide the surrounding services themselves, including a server, HTTPS, a domain, persistent storage, backups, and email when enabled. Docker images and standalone binaries support the core deployment model. The documentation also describes optional version checks, analytics heartbeats, and icon-library requests that can be disabled for air-gapped installations. There is no published Pocket ID cloud price or separate enterprise tier in project documentation.

Limitations and how it compares

Pocket ID addresses a narrower identity problem than Keycloak, Authentik, or Zitadel. Its passkey-only model may exclude applications, users, or recovery policies that depend on passwords, broad federation, or multiple authentication methods. Keycloak provides deeper protocol and directory integration, while Authentik offers a broader self-hosted access platform. Zitadel provides a hosted identity service alongside its open-source components. Pocket ID suits a small OIDC deployment that prioritizes passkey sign-in, a single program, and limited administration instead of broad federation or managed hosting. Before replacing an existing identity platform, teams should verify client compatibility, recovery expectations, and operational ownership. This choice depends on whether the narrower model meets application and user requirements, and whether the team accepts responsibility for operating the deployment.

Main features

  • Passkey authentication. Uses WebAuthn passkeys as the primary login method, replacing passwords and reducing related reset and storage workflows.
  • OIDC provider. Provides OpenID Connect and OAuth 2.0 authentication for applications, APIs, AI tools, and remote MCP servers.
  • Group access. Lets administrators assign users to groups, then use those groups to control access across connected self-hosted services.
  • SQLite database. Includes SQLite for a single-program installation, with PostgreSQL available when a server database is preferred.
  • Single program. Combines the backend and frontend into one binary, simplifying deployment through Docker or a standalone executable.
  • Air-gapped controls. Allows operators to disable version checks, analytics heartbeats, and icon-library requests when installations must operate offline.

Self-hosting Pocket ID

The recommended installation uses Docker Compose with APP_URL and a generated ENCRYPTION_KEY. Pocket ID is also distributed as a standalone binary for Linux, macOS, Windows, FreeBSD, and OpenBSD, with systemd or an equivalent service manager. It listens on port 1411 and stores its database and uploads in a data directory. SQLite is built in, while PostgreSQL is supported. Place a reverse proxy and HTTPS in front because passkeys require a secure origin except on localhost. Back up the data directory or PostgreSQL database together with the encryption key. No minimum hardware requirement is published.

Strengths

  • Passkey-only authentication removes password storage and reset workflows.
  • One container or binary supports a small installation.
  • BSD-2-Clause permits commercial self-hosting.
  • Binaries cover several operating systems and CPU architectures.

Drawbacks

  • Passkey-only login can complicate recovery and legacy-client support.
  • The project covers fewer identity scenarios than Keycloak or Zitadel.
  • Operators must provide HTTPS, backups, storage, and email when needed.

What teams replace with it

Teams usually evaluate Pocket ID when they want to move off Auth0, Okta Customer Identity, OneLogin.

For side-by-side commercial comparisons, browse our alternatives hub.

Open-source alternatives to Pocket ID

Frequently asked questions

Is Pocket ID free?

Yes. Pocket ID uses the BSD-2-Clause license and is designed for self-hosting. The project does not publish a required per-user fee or a central paid cloud plan. Operators still pay for the infrastructure they choose, including a server, domain, HTTPS, storage, backups, monitoring, and email delivery when their configuration uses email.

Can Pocket ID be used commercially?

Yes. BSD-2-Clause permits commercial use, modification, redistribution, and private operation, provided the copyright notice and disclaimer requirements remain in place. A company can run Pocket ID for internal applications or customer-facing services. The license does not remove operational responsibilities for protecting the encryption key, securing the host, and managing identity data.

What does Pocket ID require to self-host?

Docker Compose is the recommended installation method, and standalone binaries are available for several operating systems and architectures. Set APP_URL and ENCRYPTION_KEY, persist the data directory, and expose port 1411 behind HTTPS. SQLite is built in, while PostgreSQL is supported. Passkeys require HTTPS except when testing through localhost. No minimum hardware requirement is published.

How does Pocket ID compare with Keycloak?

Pocket ID is a smaller, passkey-focused OIDC provider that runs as one program with SQLite available. Keycloak supports a broader set of federation, directory, protocol, and authentication scenarios, but requires more administration. Choose Pocket ID for a focused passwordless deployment. Choose Keycloak when extensive identity integration and authentication-method coverage matter more than low operational complexity.

Does Pocket ID send data outside the installation?

The installation documentation describes three optional outgoing request types: release version checks, a daily analytics heartbeat, and icon searches through the configured icon library. Each can be disabled for an air-gapped server. Administrators remain responsible for protecting application data, tokens, passkeys, backups, logs, reverse proxies, and any email provider used by the deployment.

Similar projects to compare

Sources

Last updated 2026-10-22.