GeezerVison is showing github.com — SSO for fleet services: GitHub/Google/Microsoft login gated to Drew + devtoday OIDC provider with roles + account linking · Issue #9077 · developing-today/code
SSO for fleet services: GitHub/Google/Microsoft login gated to Drew + devtoday OIDC provider with roles + account linking #9077DescriptionDrew's ask (2026-11-12)
Do we have SSO for our own fleet services shaped like this — and if not, this issue is its home:
- Accept external login, gated to Drew (for now): sign in with GitHub, Google, or Microsoft — allowlisted to Drew's accounts only.
- Our own OAuth/OIDC provider: stand up a devtoday identity provider usable by ANY of our apps, with basic roles, offered to our apps as a "devtoday SSO" button — the same way apps offer "Sign in with Google".
- Account linking: one account, every door. GitHub / Google / Microsoft / the devtoday provider are all linkable to the SAME account at the user's choice, so a single account accepts any of the options interchangeably.
What already exists (evidence, 2026-11-12 search)
- design(pm-stack): one public URL for the dashboard behind Cloudflare Access (settled access model, not yet implemented) #1182 — dashboard behind Cloudflare Access, identity = Drew's Google SSO. Covers a slice of (1) for ONE app via Cloudflare Access (Google only), and is explicitly gated on Drew's go, not yet implemented.
- design(pm-stack): one identity across the stack — SSO propagation from the public entry into every layer, roles replace asserted authorship #1253 — design: one identity across the PM stack, SSO propagation from the public entry into every layer, roles (owner / orchestrator / agent / read-only) replacing asserted authorship. Assumes an IdP at the entry (Cloudflare Access); does NOT stand up our own provider, name GitHub/Microsoft as login options, or specify account linking.
- id: implement hosted provisioning + SSO→ID binding (from spec #2258) #2852 / spec id: design: hosted provisioning + SSO→ID binding spec — account/binding records, challenge ceremony, delayed rebind, metering, export (from #2045) #2258 (ID program, epic epic: ID platform expansion — apps, comms, currency, hosting, boards (2026-10-28 directive, LIST 6–15) #2056) — hosted provisioning + SSO→ID binding: external SSO identities bound to pkgs/id accounts; slices 1–2 landed (PRs id: hosted account + ID binding ceremony (spec §§1,3) (#3808) #4854, id: delayed ID-key rebind protocol — spec §4 (#3809) #4885), slices 3–4 open. This is linking INSIDE the id system; it does not make any fleet service accept those logins, and id is not (yet) cast as an OIDC issuer for other apps.
- pkgs/id itself (epic epic: ID platform expansion — apps, comms, currency, hosting, boards (2026-10-28 directive, LIST 6–15) #2056) is Drew's identity system — capabilities (id-caps), directory, groups; production node on the laptop :3005; a Cloudflare Workers "serverless edition" is designed/implemented under id: implement ID serverless edition v1 on Cloudflare Workers (design #2046) #5524 / design(id): serverless edition storage — D1 vs Turso vs both for
id on Cloudflare Workers #5681. Related login-design line: design(id): identity, login & delegation — simplicity-first key custody, security-code recovery, and pseudo-login identities #5684 (identity, login & delegation), id: design: keyless-custody login feasibility (investigation) (from #5684) #5885, id: design: pseudo-login identities & scoped do-as delegation (variant d) (from #5684) #5889.
- No issue found (searches: oidc, oauth, sso, "identity provider", "login with", "relying party", "devtoday") that frames (1)+(2)+(3) together for fleet services, and none that offers a "devtoday SSO" button to our own apps.
Open design question (for the owner — NOT decided here)
Is pkgs/id the OIDC provider, or a separate minimal provider?
- For id-as-provider: it already has accounts, binding ceremonies (id: implement hosted provisioning + SSO→ID binding (from spec #2258) #2852), capability/role machinery (id-caps, id-groups), a hosted/serverless edition path (id: implement ID serverless edition v1 on Cloudflare Workers (design #2046) #5524), and Drew's 2026-10-28 ID program directive behind it. Cost: id's key-custody model (see design(id): identity, login & delegation — simplicity-first key custody, security-code recovery, and pseudo-login identities #5684) is more exotic than a conventional OIDC issuer; fleet services need boring, standard OIDC first.
- For a separate minimal provider: a small standard OIDC issuer (GitHub/Google/Microsoft as upstream federated logins + linking tables + roles) is faster to make every app consume, but then two identity systems exist and the relationship (does the minimal provider later fold into id? does id consume it?) must be designed, not drifted into.
Either way the deliverables above stand: external logins gated to Drew, account linking across all four doors, basic roles consumed by fleet services (the role model in design(pm-stack): one identity across the stack — SSO propagation from the public entry into every layer, roles replace asserted authorship #1253 is the consumer-side contract).
Acceptance
- A design note (repo
doc/) answering the provider question above with evidence, naming the issuer, the linking model (one account, N linked external identities), the role set, and the Drew-only gate mechanism.
- Implementation issues filed as children of this issue for: provider stand-up, GitHub login, Google login, Microsoft login, account linking UI/flow, first consumer integration (PM stack, per design(pm-stack): one identity across the stack — SSO propagation from the public entry into every layer, roles replace asserted authorship #1253).
- First consumer proves the full loop: Drew signs into a fleet service via each linked door against the same account, roles enforced server-side.
Parents/relatives: PM stack coherence epic #1184 (this issue's native parent), ID program epic #2056 (cross-linked — the provider question lives there too), design-register/turso-cloudflare programs unaffected. Relates: #1182, #1253, #2852, #2258, #5684, #5524. Activitydeveloping-today commented on Nov 12, 2026 dezren39 commented on Nov 13, 2026 Input from the Fleet CA/credentials design mill (#9155), not a competing SSO program or an implementation claim.
The preserved Fleet v0.3 sources (§27.4, §31 FUT-001/002, §46 R-SEC-10/15) ask that future public/private OIDC integration distinguish authentication, MFA/passkeys/OTP, roles/groups, workload identity and capabilities/attenuation. Your current issue explicitly owns the external GitHub/Google/Microsoft doors, devtoday issuer, linking and basic roles; it does not yet establish all of those broader capabilities or deployment evidence. Our traceability will record that boundary rather than claiming the entire future identity vision is already covered or implemented here.
Please retain these as design inputs when settling the SSO issuer and relying-party contract: stable principal binding across linked accounts; explicit role/group/capability mapping; issuer/audience/expiry/revocation validation; MFA/step-up policy for sensitive actions; clear human versus workload identity; and no inference that login alone authorizes root signing, escrow or secret replication. Fleet owns its transaction-bound signing/custody policy, not another OIDC issuer. FUT-12 remains the separate, optional id/iroh/OCapN investigation.
No production login, provider, key, trust or deployment action is requested by this comment. #9155 remains design/synthetic only; your issue remains the canonical SSO home. Exact original sources and formatter-independent provenance are preserved on branch design/fleet-ca-v03-buildout / draft PR #9245 under doc/2026-11-13T01-34-11Z_design_fleet_ca_credentials_secrets/source-snapshots/intake-34faffbff2/. dezren39 commented on Nov 23, 2026
Agent note (repo-worker-code, any-n scheduled lane): triage verdict — task 18827
Fresh verification 2026-11-23: #9077 OPEN, kind/feature (fleet-services SSO: external logins gated to Drew + devtoday OIDC provider + account linking). No stated hard dependency — relatives (#1182, #1253, #2852/#2258, #5684, #5524) are context, not gates; the open provider question (id-as-OIDC vs separate minimal provider) is owned by the follow-on design note per the acceptance criteria, not a triage blocker. Verdict: real and current; routed for real work. No implementation under this triage task. Task 18827 completing with triage_outcome=follow_on. dezren39 commented on Nov 23, 2026 agent-note:v1
state: design-slice done — decision recorded, children filed, PR open
task: 21351 (feature_slice)
lane: oc-code-05 (openchamber scheduled lane)
at: 2026-11-23T15:45Z
- Decision (FDR-0013, Drew may override per note §5): separate minimal OIDC provider first, explicit fold path into pkgs/id. Evidence: no OIDC/openid/JWKS surface in pkgs/id (code search); design(id): identity, login & delegation — simplicity-first key custody, security-code recovery, and pseudo-login identities #5684 custody unresolved; id: implement hosted provisioning + SSO→ID binding (from spec #2258) #2852 slices 3–4 open; design(pm-stack): one identity across the stack — SSO propagation from the public entry into every layer, roles replace asserted authorship #1253 in-progress; id: implement ID serverless edition v1 on Cloudflare Workers (design #2046) #5524 unbuilt.
- Design note: doc/2026-11-23_design_fleet_sso_9077.md in PR docs(sso): fleet SSO provider decision note (#9077) #13417 (branch lane/oc-code-05/sso-9077-design, pushed).
- Children: SSO (#9077): stand up minimal devtoday OIDC provider with Drew-only gate #13409 provider, SSO (#9077): GitHub federated login #13411 GitHub, SSO (#9077): Google federated login #13412 Google, SSO (#9077): Microsoft federated login #13414 Microsoft, SSO (#9077): account linking UI/flow with retained identity history #13415 linking, SSO (#9077): first consumer integration proving the full loop (PM stack) #13416 first consumer (PM stack, owns the full-loop proof).
- SSO for fleet services: GitHub/Google/Microsoft login gated to Drew + devtoday OIDC provider with roles + account linking #9077 left OPEN deliberately: acceptance item 3 belongs to SSO (#9077): first consumer integration proving the full loop (PM stack) #13416.
dezren39 commented on Nov 24, 2026 Claim-shape request from relying-party design (component H, #9086, PR #14089 §4.7): the integration needs the exact token-claim shape for roles — claim names, nesting, and multi-tenant representation (binding_id + role list as claims). H1 proceeds with a proposed shape if unanswered in 7 days, recorded as provisional. — lane code-g, task 21564 dezren39 commented on Nov 24, 2026 agent-note:v1 agent=repo-worker-code lane=code-g task=21947 state=triaged at=2026-11-24
Second-pass verify-and-route (queue reprioritization pass 2, 2026-11-24). Fresh read: #9077 is OPEN with 5 comments. The design decision (separate minimal OIDC provider first, with an explicit fold path into pkgs/id, per FDR-0013) was recorded 2026-11-23, with children filed and a PR opened.
Open item: the relying-party design (#9086, PR #14089 §4.7) asked for the exact role-claim shape (claim names, nesting, binding_id plus role list). Per that request, H1 proceeds with a proposed shape if unanswered in 7 days (around 2026-12-01), recorded as provisional. That is a default already in place, so no person needs to answer.
Routed: no new packet. Work continues under the existing child issues and PR. Not filed again here. developing-today-fleet commented on Nov 26, 2026 ContributorAuthor More actions 🤖 Agent note · triage (queue task 24763, lane oc-code-02)
developing-today commented on Nov 27, 2026
Triage re-verification — task 25238 (code-f), 2026-11-27: parent remains open; no new packet.
Fresh verification:
developing-today-fleet commented on Nov 27, 2026 ContributorAuthor More actions
Triage re-verification — task 25665 (oc-code-03), 2026-11-27: parent remains open; no new packet.
Fresh verification:
Verdict: #9077 stays OPEN as the program parent until the consumer proof and remaining doors/linking complete. No duplicate implementation or new packet from this pass; work remains on #13416 and its linked child issues.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|