Does a KERI/ACDC-backed OIDC provider already exist that runs on NixOS? #726

Closed
opened 2026-08-24 01:17:54 +00:00 by ben · 1 comment
Owner

Parent

Map: IDIP as a core identity alternative to kanidm (#725)

Question

Before IDSS writes its own OIDC bridge (the charting ruling: build, gated by this ticket), establish whether any production-grade OIDC provider authenticates by KERI AID control and/or ACDC presentation — vLEI ecosystem tooling (GLEIF, Provenant, reg-pilot), signify-based auth servers, DIDComm↔OIDC bridges, or a generic OIDC provider library in Go (fosite, zitadel/oidc, ory hydra) that could be wired to a KERI verifier. For each candidate: maturity, licence, language, NixOS packaging, whether it can run on a 4 GB gateway beside KERIA, and what it would take to map a membership ACDC to OIDC claims/groups. Conclude with a recommendation: adopt, wrap a library, or write from scratch.

## Parent Map: [IDIP as a core identity alternative to kanidm](https://git.matou.nz/Matou/idss/issues/725) (#725) ## Question Before IDSS writes its own OIDC bridge (the charting ruling: build, gated by this ticket), establish whether any production-grade OIDC provider authenticates by KERI AID control and/or ACDC presentation — vLEI ecosystem tooling (GLEIF, Provenant, reg-pilot), signify-based auth servers, DIDComm↔OIDC bridges, or a generic OIDC provider library in Go (fosite, zitadel/oidc, ory hydra) that could be wired to a KERI verifier. For each candidate: maturity, licence, language, NixOS packaging, whether it can run on a 4 GB gateway beside KERIA, and what it would take to map a membership ACDC to OIDC claims/groups. Conclude with a recommendation: adopt, wrap a library, or write from scratch.
Author
Owner

Research #726 — KERI/ACDC-backed OIDC provider: nothing adoptable; wrap a Go library.

  • No open-source OIDC provider authenticates by KERI AID / ACDC presentation today (searched vLEI/GLEIF tooling, WebOfTrust repos, DIDComm/SIOP bridges).
  • GLEIF's own pattern (reg-pilot + vlei-verifier, Python/keripy, Apache-2) is signify signed-headers verification + ACDC presentation checks — a verifier, not an IdP; reg-pilot-api is archived (2025-08). Reusable as the KERI-side logic of a bridge.
  • The one shipping product (esatus vLEI Authenticator, GLEIF blog 2026-02-24) = Keycloak SPI + proprietary SOWL orchestrator + KERIAuth extension. Closed, and Keycloak's JVM was already rejected on the 4 GB floor (ADR 0038).
  • acapy-vc-authn-oidc is AnonCreds/Aries + ACA-Py + Mongo — wrong stack.
  • Nothing KERI (keripy/KERIA/vlei-verifier) is in nixpkgs; packaging is its own ticket.
  • Go OP libraries: zitadel/oidc v3 op (Apache-2, OpenID-certified, no DB, one op.Storage interface, custom claims via SetUserinfoFromScopes/GetPrivateClaimsFromScopes) > ory/fosite (same freedom, more scaffolding) > Hydra (package in nixpkgs, no module, needs DB + separate login app) > Dex (services.dex exists but connectors are compiled in → fork + DB).
  • Claims mapping: sub = member AID; groups = membership role + komiti ACDCs; authorisation = ACDC issued by this community's group AID, TEL state issued-not-revoked (suspension = revocation falls out for free); re-check TEL on refresh.

Recommendation: wrap-a-library — build the IDSS-owned bridge in Go on github.com/zitadel/oidc/v3, with a thin verifier against the gateway's KERIA (port vlei-verifier's checks). Charting's "build" ruling stands.

Full note: branch research/keri-oidc-provider, docs/research/2026-08-24-keri-oidc-provider-landscape.md (commit 59d46c5).

**Research #726 — KERI/ACDC-backed OIDC provider: nothing adoptable; wrap a Go library.** - No open-source OIDC provider authenticates by KERI AID / ACDC presentation today (searched vLEI/GLEIF tooling, WebOfTrust repos, DIDComm/SIOP bridges). - GLEIF's own pattern (reg-pilot + `vlei-verifier`, Python/keripy, Apache-2) is signify **signed-headers** verification + ACDC presentation checks — a verifier, not an IdP; reg-pilot-api is archived (2025-08). Reusable as the *KERI-side* logic of a bridge. - The one shipping product (esatus **vLEI Authenticator**, GLEIF blog 2026-02-24) = Keycloak SPI + proprietary SOWL orchestrator + KERIAuth extension. Closed, and Keycloak's JVM was already rejected on the 4 GB floor (ADR 0038). - acapy-vc-authn-oidc is AnonCreds/Aries + ACA-Py + Mongo — wrong stack. - Nothing KERI (keripy/KERIA/vlei-verifier) is in nixpkgs; packaging is its own ticket. - Go OP libraries: **zitadel/oidc v3 `op`** (Apache-2, OpenID-certified, no DB, one `op.Storage` interface, custom claims via `SetUserinfoFromScopes`/`GetPrivateClaimsFromScopes`) > ory/fosite (same freedom, more scaffolding) > Hydra (package in nixpkgs, no module, needs DB + separate login app) > Dex (`services.dex` exists but connectors are compiled in → fork + DB). - Claims mapping: `sub` = member AID; `groups` = membership `role` + komiti ACDCs; authorisation = ACDC issued by *this community's* group AID, TEL state issued-not-revoked (suspension = revocation falls out for free); re-check TEL on refresh. **Recommendation: wrap-a-library — build the IDSS-owned bridge in Go on `github.com/zitadel/oidc/v3`, with a thin verifier against the gateway's KERIA (port vlei-verifier's checks). Charting's "build" ruling stands.** Full note: branch `research/keri-oidc-provider`, `docs/research/2026-08-24-keri-oidc-provider-landscape.md` (commit 59d46c5).
ben closed this issue 2026-08-24 01:31:21 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#726
No description provided.