document-archive on IDIP: members get Paperless's password form and a button labelled "kanidm"; go straight to the community sign-in #2030
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#2030
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
On an IDIP community the Document archive (Paperless) greets a member with a username and password form they can never use, and a single sign-on button labelled "kanidm". There is no kanidm on IDIP and no member has a Paperless password, so the door looks broken.
The sign-in path itself works: the "kanidm" button goes to the idss-idp bridge (
id.<apex>/authorize?client_id=paperless…), the bridge accepts it and hands the member to the app approval. The button is misnamed and hidden behind a form that can't work.Reported by Ben on whakatohea-demo, 2026-09-30, the day before the wānanga.
Why
renderPaperlessOIDCBridge(internal/clan/paperless.go) writes the allauth provider withprovider_idANDnameboth set topaperlessOIDCProviderName("kanidm"). The provider id has to stay, because it is baked into the callback path/accounts/oidc/kanidm/login/callback/that the bridge registered. But the displaynamedoesn't need to match it. Nothing tells Paperless to skip its own login form.Fix
In the IDIP render only:
nameto the community's sign-in wording (e.g. "Community sign-in"). Leaveprovider_idalone, so the registered redirect URI still matches.PAPERLESS_REDIRECT_LOGIN_TO_SSO=true, so the login page forwards straight to the one configured provider. Written with the provider JSON into the oidc env filepaperless-webalready reads.Do not set
PAPERLESS_DISABLE_REGULAR_LOGIN: the health check and the role reconciler authenticate as the service admin over the API.Acceptance criteria
document-archive.<apex>signed in at the front door goes straight to the community sign-in, never Paperless's password form.Also found: the demo's Paperless config is stale
whakatohea-demo's
paperless.nixwas rendered on 2026-09-29, beforee4943ee4. It still hasemail_authentication: trueon the bridge provider, which Ben's ADR 0255 amendment ruled OFF on IDIP. The release lane doesn't re-render a port's module (#1881), so the demo keeps the old behaviour until Paperless is redeployed from the control panel. That's a sign-in trust setting, so the demo change waits for Ben's word; this ticket's fix, once released, and a Paperless redeploy together bring the demo in line.swarm-claim host=elitebook-distributed-server-03 run=36684
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #2030 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope