OpenID Connect · Directory · Access control

Sign-in for your apps,
in one small binary.

PicoIDP is an identity provider with its own directory of users, groups and applications, and folder-based access control. The sign-in pages, a self-service profile, an admin app and the documentation are all built in. It runs on SQLite, PostgreSQL or MariaDB.

  • ~11 MB image
  • 1 static binary
  • 3 databases
  • 0 sidecars
The PicoIDP sign-in page with a custom theme

Everything sign-in needs. Nothing it doesn't.

The rule is "when in doubt, leave it out". What made it in is done properly.

OpenID Connect, properly

Authorization code with PKCE, refresh tokens, client credentials, revocation, introspection and RP-initiated logout. Discovery and JWKS for everything else.

Passwords, TOTP, passkeys

Authenticator apps, passkeys and recovery codes. Require a second factor or a passkey for everyone, or only for the applications that need it.

Its own directory

Users, groups and applications live in one tree of folders. No LDAP to run, no sync jobs, no second source of truth.

Delegated administration

Grant read, write, members, credentials or acl on a folder and it applies to everything below: each department manages its own people.

Who may sign in

Every application lists the users, groups and folders it admits. Everyone else is turned away at the idp, before the app sees them.

Theming per application

Logo, texts, accent colour and background, for the whole server or per application, so the wiki and the CRM each get their own sign-in page.

Self sign-up

Optional, per application: people create their own account after confirming their email, with or without an approval step.

Audit log

Every change, with who made it and what it touched. Every object page has its own audit tab.

Configuration as code

Environment variables plus an optional settings file that pins the sign-in policy and the theme, so a deployment is reproducible.

A look inside

Sign-in
Sign-in. Server-rendered, works without JavaScript except for passkeys, themed to your brand.
Access, explained
Access, explained. Who may do what on an object, and why: inherited grants included.
Per-application theming
Per-application theming. The "Company Wiki" client with its own background and accent.
My profile
My profile. People manage their password, second factors, passkeys and sessions themselves.
Users
Users. One page per object, with Access and Audit tabs.
Applications
Applications. Redirect URIs, grant types, and a launch URL for "My apps".

Left out, on purpose

Every feature is something you have to run, secure and upgrade. PicoIDP is for teams that want OpenID Connect sign-in for their own applications and a directory to manage who gets in, without standing up a platform.

Running in four steps

  1. Start the container with a base URL, two keys and an SMTP server.
  2. Point your TLS reverse proxy at it.
  3. Open the mail to the first administrator and set a password.
  4. Register your applications. They find everything else in /.well-known/openid-configuration.

Read the quickstart →

# compose.yml
services:
  idp:
    image: harbor.rand0m.me/public/picoidp:v0.2.0
    environment:
      IDP_BASE_URL: https://idp.example.com
      IDP_PASSWORD_PEPPER: ${IDP_PASSWORD_PEPPER}
      IDP_KEY_ENCRYPTION_KEY: ${IDP_KEY_ENCRYPTION_KEY}
      IDP_SMTP_URL: smtps://user:pw@mail.example.com
      IDP_BOOTSTRAP_ADMIN_USERNAME: admin
      IDP_BOOTSTRAP_ADMIN_EMAIL: admin@example.com
    volumes: [data:/data]
    ports: ["127.0.0.1:8080:8080"]
volumes:
  data:

Try it with nothing to install

Enter your email and get your own PicoIDP for 45 minutes: the admin app, a sample directory, three applications to sign in to, and a mail catcher for the password-reset and sign-up mails. Nothing leaves the demo: its mail stays in its own inbox.

Start a demo