One community sign-in, seven doors: the operator account works for Nextcloud ONLY (it is the one OIDC client) — the other six services ask for their own admin credential, which the panel never surfaces; and Members shows "Ben Tairea" while the sign-i… #1509

Open
opened 2026-09-16 02:55:22 +00:00 by ben · 4 comments
Owner

Symptom (Ben, 2026-09-16, on the Whakatōhea Demo)

Signing in as the founding operator works for Nextcloud only. Every other service on the gateway — Community archive (Omeka S), Document archive (Paperless), Genealogy (Gramps Web), Surveys (LimeSurvey), Data collections (Grist), Newsletters (Listmonk) — lets the operator through the community sign-in and then shows the app's own login, where no operator account exists. And the name does not match what the panel shows: the Members tab lists Ben Tairea, while the thing you type at the sign-in is operator.

What is actually true on the box

  1. One OIDC client exists. kanidm system oauth2 create nextcloud … is rendered by internal/clan/files.go:893 and nothing else creates one — the gateway's kanidm carries nextcloud plus gate-oidc (the front-door auth gate). So Nextcloud is ADR 0076's Tier 1 claim-native port, and the other six are "front door only".
  2. Each of the six has its own local admin with a generated password, materialised on the box and surfaced NOWHERE in the panel or the API (grepped: no reference to adminpass / OMEKA_ADMIN_PASSWORD / GRAMPSWEB_OWNER_PASSWORD / LISTMONK_ADMIN_PASSWORD outside the render):
    • /run/secrets/vars/archive-secrets/env → OMEKA_ADMIN_PASSWORD
    • /run/secrets/vars/document-archive-secrets/adminpass (user admin)
    • /run/secrets/vars/whakapapa-secrets/env → GRAMPSWEB_OWNER_PASSWORD (user owner)
    • /run/secrets/vars/surveys-secrets/adminpass (user admin)
    • /run/secrets/vars/newsletters-secrets/env → LISTMONK_ADMIN_PASSWORD (user idss-api for the API token)
    • Grist: GRIST_SESSION_SECRET only.
  3. The identity the panel shows is the display name, the identity you type is the account id. GET /api/v1/members returns {"person_id":"operator","name":"Ben Tairea","role":"operator"} — the Members tab paints name, the sign-in wants person_id.

So the product is behaving as ADR 0076 describes, but the OPERATOR EXPERIENCE is a dead end: the community sign-in implies one identity across the community, and six of seven doors then ask for a credential the operator has never been given and cannot find.

What needs ruling (this is a design ticket, not a mechanical fix)

  • (a) Say it, at minimum. Each service's card/detail in the panel names how you sign in to it: "with your community account" (Nextcloud) vs "this service keeps its own sign-in — here is the admin credential" with the credential readable by the operator (a reveal, audited). Smallest honest change; matches ADR 0076's "P6-S7 says so honestly per service".
  • (b) Extend Tier 1 where the app supports OIDC. Paperless-ngx, Gramps Web, Grist and Omeka S all have OIDC/OAuth2 support in some form; each would need its own kanidm client + claim map, as files.go does for Nextcloud. This is the posture an operator expects from "one community sign-in" and is the bigger arc.
  • (c) The username/display-name mismatch is fixable either way: show the account id beside the display name in Members (and on the hand-off card), or let a person sign in with their display name. Today nothing in the UI ever tells the operator that their username is operator.

Ben's own words: "the login account operator username is only working for nextcloud… it also doesn't align with what I'm seeing on the members tab, there is a user ben tairea".

Acceptance (once ruled)

  • From the panel alone, an operator can reach every running service's admin without ssh into the box.
  • The Members tab and the sign-in agree on what to call a person.
  • A drive leg proves it on at least one non-Nextcloud service (the phase-9 journey now founds seven).

Evidence

Whakatōhea Demo (whakatohea-demo.idss.nz, kept; read-only inspection via the phase-9 run's rent-operator key on matou-workstation): kanidm oauth2 client list, the six secrets dirs above, GET /api/v1/members output, ADR 0076's Tier 1/Tier 2/front-door-only ruling.

## Symptom (Ben, 2026-09-16, on the Whakatōhea Demo) Signing in as the founding operator works for **Nextcloud only**. Every other service on the gateway — Community archive (Omeka S), Document archive (Paperless), Genealogy (Gramps Web), Surveys (LimeSurvey), Data collections (Grist), Newsletters (Listmonk) — lets the operator through the community sign-in and then shows **the app's own login**, where no `operator` account exists. And the name does not match what the panel shows: the Members tab lists **Ben Tairea**, while the thing you type at the sign-in is **`operator`**. ## What is actually true on the box 1. **One OIDC client exists.** `kanidm system oauth2 create nextcloud …` is rendered by `internal/clan/files.go:893` and nothing else creates one — the gateway's kanidm carries `nextcloud` plus `gate-oidc` (the front-door auth gate). So Nextcloud is ADR 0076's **Tier 1 claim-native** port, and the other six are "front door only". 2. **Each of the six has its own local admin with a generated password**, materialised on the box and surfaced NOWHERE in the panel or the API (grepped: no reference to `adminpass` / `OMEKA_ADMIN_PASSWORD` / `GRAMPSWEB_OWNER_PASSWORD` / `LISTMONK_ADMIN_PASSWORD` outside the render): - `/run/secrets/vars/archive-secrets/env` → `OMEKA_ADMIN_PASSWORD` - `/run/secrets/vars/document-archive-secrets/adminpass` (user `admin`) - `/run/secrets/vars/whakapapa-secrets/env` → `GRAMPSWEB_OWNER_PASSWORD` (user `owner`) - `/run/secrets/vars/surveys-secrets/adminpass` (user `admin`) - `/run/secrets/vars/newsletters-secrets/env` → `LISTMONK_ADMIN_PASSWORD` (user `idss-api` for the API token) - Grist: `GRIST_SESSION_SECRET` only. 3. **The identity the panel shows is the display name, the identity you type is the account id.** `GET /api/v1/members` returns `{"person_id":"operator","name":"Ben Tairea","role":"operator"}` — the Members tab paints `name`, the sign-in wants `person_id`. So the product is behaving as ADR 0076 describes, but the OPERATOR EXPERIENCE is a dead end: the community sign-in implies one identity across the community, and six of seven doors then ask for a credential the operator has never been given and cannot find. ## What needs ruling (this is a design ticket, not a mechanical fix) - **(a) Say it, at minimum.** Each service's card/detail in the panel names how you sign in to it: "with your community account" (Nextcloud) vs "this service keeps its own sign-in — here is the admin credential" with the credential readable by the operator (a reveal, audited). Smallest honest change; matches ADR 0076's "P6-S7 says so honestly per service". - **(b) Extend Tier 1 where the app supports OIDC.** Paperless-ngx, Gramps Web, Grist and Omeka S all have OIDC/OAuth2 support in some form; each would need its own kanidm client + claim map, as `files.go` does for Nextcloud. This is the posture an operator expects from "one community sign-in" and is the bigger arc. - **(c) The username/display-name mismatch** is fixable either way: show the account id beside the display name in Members (and on the hand-off card), or let a person sign in with their display name. Today nothing in the UI ever tells the operator that their username is `operator`. Ben's own words: "the login account operator username is only working for nextcloud… it also doesn't align with what I'm seeing on the members tab, there is a user ben tairea". ## Acceptance (once ruled) - From the panel alone, an operator can reach every running service's admin without ssh into the box. - The Members tab and the sign-in agree on what to call a person. - A drive leg proves it on at least one non-Nextcloud service (the phase-9 journey now founds seven). ## Evidence Whakatōhea Demo (`whakatohea-demo.idss.nz`, kept; read-only inspection via the phase-9 run's rent-operator key on matou-workstation): kanidm oauth2 client list, the six secrets dirs above, `GET /api/v1/members` output, ADR 0076's Tier 1/Tier 2/front-door-only ruling.

Ruled by agent under ADR 0174 — veto anytime

This is a design ticket offering three parts (a/b/c). Rulings and what shipped:

Part (c) — the display-name/account-id mismatch — LANDED (997635c3, on main). Members painted the display name ("Ben Tairea") while the sign-in wants the account id (operator), and nothing in the UI ever told the operator their username. Fixed: each P6-S1 member row (MembersScreen.vue) and the P6-S4 hand-off card (MemberDetailScreen.vue) now show the account id under the display name (data-field="member-username", mono/soft), rendered only when the id differs from the name (no redundant "@operator" beside "operator"). Wireframes p6-s1/p6-s4 amended to carry the same field (design-tier accept under ADR 0174). Proof (offline): membersList.test.ts +2, memberDetail.test.ts +2, related member/overview suites green, vue-tsc clean. This satisfies acceptance clause 2 ("the Members tab and the sign-in agree on what to call a person").

Why (c) is a two-way door: revertible UI + test change, proven offline; the account id was already on the wire (GET /api/v1/members returns person_id), so this is pure surfacing.

Part (a) — "say it honestly per service", with the audited credential reveal — SPLIT to #1532 (needs-design). This is the substantive remainder (acceptance clause 1: "reach every running service's admin without ssh"). It cannot be a swarm slice as-is: it has no wireframe (the UI contract) and needs a per-service DDR — the six front-door-only services carry heterogeneous secret shapes (env vs bare file), Listmonk's secret is a machine API token not a human login, and Grist has no local admin at all (it rides the front door's forwarded-header auth). So "reveal the admin credential" is not one thing; the design must rule the exceptions and the audit semantics before it is implementable. The reader mechanism already exists (the control plane reads these per-call for health checks), so once designed it is buildable. See #1532 for the full breakdown.

Part (b) — extend Tier-1 OIDC to Paperless/Gramps/Grist/Omeka — NOT opened here. This is the bigger arc AND a security-posture widening (new deliberately-authenticating clients) — an ADR 0174 one-way door, not an agent's to open unilaterally. It belongs in its own future ticket, weighed against (a).

Acceptance clause 3 (the drive leg on a non-Nextcloud service) is phase-9 — it needs a live founding drive, which a swarm worker cannot run; it rides #1532's completion.

Hand-off

Clause 2 is met and landed; clauses 1 and 3 need the design-tier reveal (#1532) plus a phase-9 drive. So #1509 moves to needs-design — blocked on the missing reveal wireframe/DDR now tracked in #1532. A human/design session re-arms by ruling #1532's design and (optionally) a separate (b) ticket.

## Ruled by agent under ADR 0174 — veto anytime This is a design ticket offering three parts (a/b/c). Rulings and what shipped: **Part (c) — the display-name/account-id mismatch — LANDED (997635c3, on `main`).** Members painted the display name ("Ben Tairea") while the sign-in wants the account id (`operator`), and nothing in the UI ever told the operator their username. Fixed: each P6-S1 member row (`MembersScreen.vue`) and the P6-S4 hand-off card (`MemberDetailScreen.vue`) now show the account id under the display name (`data-field="member-username"`, mono/soft), rendered **only when the id differs from the name** (no redundant "@operator" beside "operator"). Wireframes p6-s1/p6-s4 amended to carry the same field (design-tier accept under ADR 0174). Proof (offline): `membersList.test.ts` +2, `memberDetail.test.ts` +2, related member/overview suites green, `vue-tsc` clean. **This satisfies acceptance clause 2** ("the Members tab and the sign-in agree on what to call a person"). Why (c) is a two-way door: revertible UI + test change, proven offline; the account id was already on the wire (`GET /api/v1/members` returns `person_id`), so this is pure surfacing. **Part (a) — "say it honestly per service", with the audited credential reveal — SPLIT to #1532 (`needs-design`).** This is the substantive remainder (acceptance clause 1: "reach every running service's admin without ssh"). It cannot be a swarm slice as-is: it has **no wireframe** (the UI contract) and needs a **per-service DDR** — the six front-door-only services carry heterogeneous secret shapes (env vs bare file), Listmonk's secret is a machine **API token** not a human login, and **Grist has no local admin at all** (it rides the front door's forwarded-header auth). So "reveal the admin credential" is not one thing; the design must rule the exceptions and the audit semantics before it is implementable. The reader mechanism already exists (the control plane reads these per-call for health checks), so once designed it is buildable. See #1532 for the full breakdown. **Part (b) — extend Tier-1 OIDC to Paperless/Gramps/Grist/Omeka — NOT opened here.** This is the bigger arc AND a **security-posture widening** (new deliberately-authenticating clients) — an ADR 0174 one-way door, not an agent's to open unilaterally. It belongs in its own future ticket, weighed against (a). **Acceptance clause 3 (the drive leg on a non-Nextcloud service) is phase-9** — it needs a live founding drive, which a swarm worker cannot run; it rides #1532's completion. ## Hand-off Clause 2 is met and landed; clauses 1 and 3 need the design-tier reveal (#1532) plus a phase-9 drive. So #1509 moves to `needs-design` — blocked on the missing reveal wireframe/DDR now tracked in **#1532**. A human/design session re-arms by ruling #1532's design and (optionally) a separate (b) ticket.
Author
Owner

Correction + the mechanisms that already exist (session findings, 2026-09-16)

The premise "Nextcloud only" is not quite right — TWO of the seven already sign in with the community identity, by TWO different mechanisms:

  1. Files (Nextcloud) — a real OIDC client. internal/clan/files.go:822-946 renders kanidm system oauth2 create nextcloud … + add-redirect-url … /apps/user_oidc/code + update-scope-map … idm_all_persons openid email profile groups + update-claim-map … ocgroups (komiti → Nextcloud groups, the operator → admin), then configures the app's user_oidc through occ. ADR 0076 Tier 1. ~120 lines of render.
  2. Data collections (Grist) — a TRUSTED IDENTITY HEADER, already built and running. internal/clan/datacollections.go:178-180, 360 sets GRIST_FORWARD_AUTH_HEADER = "X-Idss-Identity", and the demo box confirms it live (podman inspect grist → GRIST_FORWARD_AUTH_HEADER=X-Idss-Identity). No OIDC client, no secret, no redirect URL: the auth gate already forwards the resolved member identity to every service route (internal/controlapi/authgate.go:23-24 — the gate answers 204 and echoes X-Idss-Identity; frontdoor.go:466 copies it onto the backend). An app that trusts that header is signed in for free.

So the header is already arriving at all seven backends. Five of them simply ignore it.

What that means for the fix

The cheap path is (2), not (1): the plumbing is done, the cost per service is "does the upstream accept a trusted header, and what config turns it on". The expensive path is (1), one kanidm client + claim map + per-app plugin config per service.

Security invariant either way (already honoured for Grist, #1167): a header-trusting service REQUIRES the front door to STRIP inbound X-Idss-Identity on that service's client-protocol exempt paths — the gated handler overwrites it via copy_headers, the exempt handler does not. Verified on the demo box: the data-collections exempt block carries header_up -X-Idss-Identity. Any new header-trusting port must land the same strip in the same commit, or the service's /api/* becomes "assert any identity you like".

Per-service upstream capability

An upstream-capability survey (Omeka S, Paperless-ngx 2.20.15, Gramps Web, LimeSurvey CE, Grist, Listmonk 6.1.0) is attached in the next comment. One in-tree signal already: the Paperless build ships django-allauth 65.16.1, the library Paperless uses for OIDC/social login, so its OIDC path is present in the binary we deploy.

The name mismatch (part c) is independent and cheap

GET /api/v1/members returns {"person_id":"operator","name":"Ben Tairea"}; the Members tab paints name, the sign-in wants person_id, and nothing in the UI ever says so. Fixable on its own ahead of any SSO work.

## Correction + the mechanisms that already exist (session findings, 2026-09-16) **The premise "Nextcloud only" is not quite right — TWO of the seven already sign in with the community identity, by TWO different mechanisms:** 1. **Files (Nextcloud) — a real OIDC client.** `internal/clan/files.go:822-946` renders `kanidm system oauth2 create nextcloud …` + `add-redirect-url … /apps/user_oidc/code` + `update-scope-map … idm_all_persons openid email profile groups` + `update-claim-map … ocgroups` (komiti → Nextcloud groups, the operator → `admin`), then configures the app's `user_oidc` through `occ`. ADR 0076 Tier 1. ~120 lines of render. 2. **Data collections (Grist) — a TRUSTED IDENTITY HEADER, already built and running.** `internal/clan/datacollections.go:178-180, 360` sets `GRIST_FORWARD_AUTH_HEADER = "X-Idss-Identity"`, and the demo box confirms it live (`podman inspect grist` → `GRIST_FORWARD_AUTH_HEADER=X-Idss-Identity`). No OIDC client, no secret, no redirect URL: **the auth gate already forwards the resolved member identity to every service route** (`internal/controlapi/authgate.go:23-24` — the gate answers 204 and echoes `X-Idss-Identity`; `frontdoor.go:466` copies it onto the backend). An app that trusts that header is signed in for free. So the header is **already arriving at all seven backends**. Five of them simply ignore it. ## What that means for the fix The cheap path is (2), not (1): the plumbing is done, the cost per service is "does the upstream accept a trusted header, and what config turns it on". The expensive path is (1), one kanidm client + claim map + per-app plugin config per service. **Security invariant either way** (already honoured for Grist, #1167): a header-trusting service REQUIRES the front door to STRIP inbound `X-Idss-Identity` on that service's client-protocol exempt paths — the gated handler overwrites it via `copy_headers`, the exempt handler does not. Verified on the demo box: the `data-collections` exempt block carries `header_up -X-Idss-Identity`. Any new header-trusting port must land the same strip in the same commit, or the service's `/api/*` becomes "assert any identity you like". ## Per-service upstream capability An upstream-capability survey (Omeka S, Paperless-ngx 2.20.15, Gramps Web, LimeSurvey CE, Grist, Listmonk 6.1.0) is attached in the next comment. One in-tree signal already: the Paperless build ships `django-allauth 65.16.1`, the library Paperless uses for OIDC/social login, so its OIDC path is present in the binary we deploy. ## The name mismatch (part c) is independent and cheap `GET /api/v1/members` returns `{"person_id":"operator","name":"Ben Tairea"}`; the Members tab paints `name`, the sign-in wants `person_id`, and nothing in the UI ever says so. Fixable on its own ahead of any SSO work.
Author
Owner

Upstream capability survey (2026-09-16) — what each of the five can actually do

service upstream true SSO possible? mechanism claim → role mapping?
document-archive Paperless-ngx 2.20.15 Yes OIDC since v2.5.0 — PAPERLESS_APPS=allauth.socialaccount.providers.openid_connect + PAPERLESS_SOCIALACCOUNT_PROVIDERS JSON; callback /accounts/oidc/<id>/login/callback/ Yes — PAPERLESS_SOCIAL_ACCOUNT_SYNC_GROUPS (v2.15.0, present in our build) syncs IdP groups → Django groups each login; groups must pre-exist by name
whakapapa Gramps Web (API ≥ 3.4.0) Yes OIDC since v3.4.0 — GRAMPSWEB_OIDC_ENABLED, OIDC_ISSUER, OIDC_CLIENT_ID/_SECRET, OIDC_USERNAME_CLAIM, OIDC_DISABLE_LOCAL_AUTH Yes, the richest of the six — OIDC_ROLE_CLAIM + OIDC_GROUP_ADMIN/_OWNER/_EDITOR/_CONTRIBUTOR/_MEMBER/_GUEST
newsletters Listmonk 6.1.0 Yes, awkward OIDC since v4.1.0 — but configured in the admin UI / DB only (Settings → Security → OIDC); no documented LISTMONK_security__oidc__* env override. Callback /auth/oidc No — every OIDC user lands on one admin-chosen default role
surveys LimeSurvey CE No OIDC core ships AuthDB/AuthLDAP/AuthWebServer only; the one LS6-targeted OIDC plugin is a ~3-star community project. The header path works: AuthWebServer with serverkey=REMOTE_USER + auth_webserver_autocreate_user No — one static permission template for every auto-created user
archive Omeka S 4.x No — the one real blocker no OIDC module exists at all. SSO only via Daniel-KM/Omeka-S-module-SingleSignOn, which is SAML 2.0 only SAML only (the module does map IdP role → Omeka role, and does JIT provisioning)

Plus the two already done: Nextcloud (OIDC client, group claims → app groups) and Grist (trusted header).

Auto-provisioning on first sign-in

Paperless yes (PAPERLESS_SOCIAL_AUTO_SIGNUP, links by email). Gramps Web yes, but the account lands with no usable role unless OIDC_GROUP_* grants one — the first user must be in the OWNER group before anyone signs in. Listmonk yes since v5.1.0 (present in our 6.1.0). LimeSurvey only via auth_webserver_autocreate_user, static permissions. Omeka S: JIT exists, but on the SAML path only.

Two findings worth a ruling of their own

  1. Grist's OIDC is gated behind GRIST_ACTIVATION — compiled in, refuses to run without an activation key. The key is free below USD $1M org income, but it is a phone-home registration step. For a sovereignty stack that is a posture question, and it is an argument for keeping data-collections on the forwarded-header path we already ship (which needs no key, and already works).
  2. Only Gramps Web and Paperless give real claim → role mapping. Listmonk and Grist authenticate but require roles to be administered inside the app. So "one sign-in" is reachable for six of seven; "komiti drive app roles everywhere" is not, and ADR 0076's Tier-1/Tier-2/front-door-only shape is confirmed by the upstreams rather than contradicted.

Suggested shape (for Ben's ruling)

  • Tranche A — real OIDC, template exists (files.go): document-archive (Paperless) and whakapapa (Gramps Web). Both do group mapping, both auto-provision, both configure by env. Highest value, lowest risk.
  • Tranche B — header auth, plumbing exists (datacollections.go): surveys (LimeSurvey AuthWebServer). Cheap; accept static in-app permissions. Must land the header_up -X-Idss-Identity strip on its exempt paths in the same commit (#1167's invariant).
  • Tranche C — OIDC but config is not declarative: newsletters (Listmonk). Needs a deploy-time API/DB seed rather than env, the way the brand oneshots already reconcile a running service. Do after A.
  • Tranche D — blocked: archive (Omeka S). Options are a SAML↔OIDC bridge in the IdP, the BibLibre LDAP or CAS module, or writing an OIDC module. Needs its own ruling; nothing lands here cheaply.
  • Independent of all of it: the Members display-name vs account-id mismatch, and naming per service in the panel how you sign in to it.

Sources: Paperless-ngx docs + PR #5190; grampsweb.org/install_setup/oidc + gramps-web-api v3.4.0 release; listmonk.app/docs/oidc + v4.1.0/v5.1.0 releases; LimeSurvey authentication-plugins manual; Grist support/install/oidc + free-activation-key FAQ; Daniel-KM/Omeka-S-module-SingleSignOn.

## Upstream capability survey (2026-09-16) — what each of the five can actually do | service | upstream | true SSO possible? | mechanism | claim → role mapping? | |---|---|---|---|---| | document-archive | Paperless-ngx 2.20.15 | **Yes** | OIDC since v2.5.0 — `PAPERLESS_APPS=allauth.socialaccount.providers.openid_connect` + `PAPERLESS_SOCIALACCOUNT_PROVIDERS` JSON; callback `/accounts/oidc/<id>/login/callback/` | **Yes** — `PAPERLESS_SOCIAL_ACCOUNT_SYNC_GROUPS` (v2.15.0, **present in our build**) syncs IdP groups → Django groups each login; groups must pre-exist by name | | whakapapa | Gramps Web (API ≥ 3.4.0) | **Yes** | OIDC since v3.4.0 — `GRAMPSWEB_OIDC_ENABLED`, `OIDC_ISSUER`, `OIDC_CLIENT_ID/_SECRET`, `OIDC_USERNAME_CLAIM`, `OIDC_DISABLE_LOCAL_AUTH` | **Yes, the richest of the six** — `OIDC_ROLE_CLAIM` + `OIDC_GROUP_ADMIN/_OWNER/_EDITOR/_CONTRIBUTOR/_MEMBER/_GUEST` | | newsletters | Listmonk 6.1.0 | **Yes, awkward** | OIDC since v4.1.0 — but configured in the **admin UI / DB only** (Settings → Security → OIDC); no documented `LISTMONK_security__oidc__*` env override. Callback `/auth/oidc` | **No** — every OIDC user lands on one admin-chosen default role | | surveys | LimeSurvey CE | **No OIDC** | core ships `AuthDB`/`AuthLDAP`/`AuthWebServer` only; the one LS6-targeted OIDC plugin is a ~3-star community project. **The header path works**: `AuthWebServer` with `serverkey=REMOTE_USER` + `auth_webserver_autocreate_user` | **No** — one static permission template for every auto-created user | | archive | Omeka S 4.x | **No — the one real blocker** | no OIDC module exists at all. SSO only via `Daniel-KM/Omeka-S-module-SingleSignOn`, which is **SAML 2.0 only** | SAML only (the module does map IdP role → Omeka role, and does JIT provisioning) | Plus the two already done: **Nextcloud** (OIDC client, group claims → app groups) and **Grist** (trusted header). ### Auto-provisioning on first sign-in Paperless **yes** (`PAPERLESS_SOCIAL_AUTO_SIGNUP`, links by email). Gramps Web **yes**, but the account lands with **no usable role** unless `OIDC_GROUP_*` grants one — the first user must be in the OWNER group *before* anyone signs in. Listmonk **yes since v5.1.0** (present in our 6.1.0). LimeSurvey only via `auth_webserver_autocreate_user`, static permissions. Omeka S: JIT exists, but on the SAML path only. ### Two findings worth a ruling of their own 1. **Grist's OIDC is gated behind `GRIST_ACTIVATION`** — compiled in, refuses to run without an activation key. The key is free below USD $1M org income, but it is a **phone-home registration step**. For a sovereignty stack that is a posture question, and it is an argument for keeping data-collections on the forwarded-header path we already ship (which needs no key, and already works). 2. **Only Gramps Web and Paperless give real claim → role mapping.** Listmonk and Grist authenticate but require roles to be administered inside the app. So "one sign-in" is reachable for six of seven; "komiti drive app roles everywhere" is not, and ADR 0076's Tier-1/Tier-2/front-door-only shape is confirmed by the upstreams rather than contradicted. ### Suggested shape (for Ben's ruling) - **Tranche A — real OIDC, template exists (`files.go`):** document-archive (Paperless) and whakapapa (Gramps Web). Both do group mapping, both auto-provision, both configure by env. Highest value, lowest risk. - **Tranche B — header auth, plumbing exists (`datacollections.go`):** surveys (LimeSurvey `AuthWebServer`). Cheap; accept static in-app permissions. **Must land the `header_up -X-Idss-Identity` strip on its exempt paths in the same commit** (#1167's invariant). - **Tranche C — OIDC but config is not declarative:** newsletters (Listmonk). Needs a deploy-time API/DB seed rather than env, the way the brand oneshots already reconcile a running service. Do after A. - **Tranche D — blocked:** archive (Omeka S). Options are a SAML↔OIDC bridge in the IdP, the BibLibre LDAP or CAS module, or writing an OIDC module. Needs its own ruling; nothing lands here cheaply. - **Independent of all of it:** the Members display-name vs account-id mismatch, and naming per service in the panel how you sign in to it. Sources: Paperless-ngx docs + PR #5190; grampsweb.org/install_setup/oidc + gramps-web-api v3.4.0 release; listmonk.app/docs/oidc + v4.1.0/v5.1.0 releases; LimeSurvey authentication-plugins manual; Grist support/install/oidc + free-activation-key FAQ; Daniel-KM/Omeka-S-module-SingleSignOn.
Author
Owner

Part (b) RULED by Ben (2026-09-16) — spec #1535

Ben's ruling: adding a member grants access to every deployed member service; adding an operator gives admin on all services. Spec #1535 carries the per-port posture + roles reconciler design and the per-service tranches. Tickets: #1536 (Grist owner/org access — priority, first), #1537 (port posture + roles reconciler; also fixes GrantOperator never touching kanidm groups), #1538 Paperless OIDC, #1539 Gramps Web OIDC, #1540 LimeSurvey header, #1541 Listmonk OIDC seed, #1542 Forgejo admin-group, #1543 Mattermost system-admin, #1544 PeerTube OIDC, #1545 Omeka S ruling (human), #1546 drive leg (session). #1532 stays the fallback for signin: own ports.

## Part (b) RULED by Ben (2026-09-16) — spec #1535 Ben's ruling: adding a member grants access to every deployed member service; adding an operator gives admin on all services. Spec #1535 carries the per-port posture + roles reconciler design and the per-service tranches. Tickets: #1536 (Grist owner/org access — priority, first), #1537 (port posture + roles reconciler; also fixes `GrantOperator` never touching kanidm groups), #1538 Paperless OIDC, #1539 Gramps Web OIDC, #1540 LimeSurvey header, #1541 Listmonk OIDC seed, #1542 Forgejo admin-group, #1543 Mattermost system-admin, #1544 PeerTube OIDC, #1545 Omeka S ruling (human), #1546 drive leg (session). #1532 stays the fallback for `signin: own` ports.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#1509
No description provided.