Edit the OIDC sign-in provider from Settings, not server flags #321

Open
opened 2026-10-27 13:35:50 +00:00 by sam · 0 comments
Owner

Goal

Issuer, audience, client id/secret and redirect URL are a control-plane resource edited in Settings and applied without a server login.

Evidence

cmd/archie-ui/main.go:32-36 reads -oidc-* flags; the client secret comes from an env var. No control-plane kind for it in internal/app/controlplane.

Rules

Read CLAUDE.md. Do only what the Goal and Stop when need. File anything else you notice as a bead; do not fix it. Run task check once at the end; if it fails twice on the same problem, comment on this bead and stop.

Stop when

  • A control-plane kind holds the provider settings (secret stored like other secrets).
  • archie-ui reads it at start and on change.
  • A Settings page edits it; flags are removed.
    Then commit (Conventional Commits, scoped by package), bd close this bead and stop.

Notes

Org epic session skipped: with OIDC configured the shared token stops working, so a wrong issuer saved from Settings locks the operator out. Needs a save-time guard or a break-glass login.


Imported from beads archie-core-kgxw.8 · GitHub #1321 · type feature · priority P2 · created 2026-10-05

## Goal Issuer, audience, client id/secret and redirect URL are a control-plane resource edited in Settings and applied without a server login. ## Evidence cmd/archie-ui/main.go:32-36 reads -oidc-* flags; the client secret comes from an env var. No control-plane kind for it in internal/app/controlplane. ## Rules Read CLAUDE.md. Do only what the Goal and Stop when need. File anything else you notice as a bead; do not fix it. Run `task check` once at the end; if it fails twice on the same problem, comment on this bead and stop. ## Stop when - [ ] A control-plane kind holds the provider settings (secret stored like other secrets). - [ ] archie-ui reads it at start and on change. - [ ] A Settings page edits it; flags are removed. Then commit (Conventional Commits, scoped by package), `bd close` this bead and stop. ### Notes Org epic session skipped: with OIDC configured the shared token stops working, so a wrong issuer saved from Settings locks the operator out. Needs a save-time guard or a break-glass login. --- _Imported from beads `archie-core-kgxw.8` · GitHub #1321 · type feature · priority P2 · created 2026-10-05_
sam added the mediumfeature labels 2026-10-27 13:35:50 +00:00
sam self-assigned this 2026-10-27 13:35:50 +00:00
sam added the deferred label 2026-11-15 17:26:25 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#321