GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — SSO (#9077): GitHub federated login · Issue #13411 · developing-today/code

SSO (#9077): GitHub federated login #13411

New issue
Copy link
New issue
Copy link
Open
Open
SSO (#9077): GitHub federated login#13411
Copy link
Labels
epic/pm-stackReprioritization program epic (2026-11-12)kind/featureNew feature or capability request

Description

@dezren39
dezren39
opened on Nov 23, 2026
Issue body actions

Refs #9077. Design: doc/2026-11-23_design_fleet_sso_9077.md §3.

Scope: GitHub OAuth as upstream federated door; links to the same account row; test: Drew's GitHub signs in against the allowlisted account.

Acceptance: login via this door reaches the same account as the other doors; non-allowlisted attempts denied with audit; depends on the provider stand-up issue (#13409).

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-23T15:36:31Z",
    "session_id": "ses_e5df703b424ffeYiDdwritlbyD",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/code-wt-sso-9077",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/code-wt-sso-9077",
      "repo": "developing-today/code",
      "branch": "lane/oc-code-05/sso-9077-design",
      "sha": "4204df0de25ea49e728773ded1f059cefbed56be"
    },
    "auth_subject": "oc-code-02",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Activity

  1. dezren39
    added
    kind/featureNew feature or capability request
    epic/pm-stackReprioritization program epic (2026-11-12)
    on Nov 23, 2026
  2. developing-today commented on Nov 23, 2026

    @developing-today
    developing-todayBot
    on Nov 23, 2026 – with developing.today
    Contributor
    More actions

    CODE-4886

  3. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Premise check + build note (IDP-BUILD-4, 2026-11-23)

    #13409 closed today with its acceptance verified first-hand, so this door's dependency is met. Two facts shape the slice, recorded before building:

    1. No GitHub OAuth App registration for the provider exists yet. The vault holds no door client credentials (checked by name across the idp.* / github.* families), and creating an OAuth App is a signed-in GitHub console step. The live "Drew's GitHub signs in" test therefore cannot run until the app is registered: callback URL <issuer>/door/github/callback, client id into the on-host provider config, client secret into the vault as idp.github.client-secret (the launcher exports it as IDP_GITHUB_CLIENT_SECRET, the same by-name pattern as idp.ca-passphrase). Drew's allowlisted GitHub identity is the numeric user id (github:<id>).
    2. What is built and proven now is the complete door machinery in pkgs/idp-provider: upstream authorize redirect with server-side pending-request state, callback code exchange, identity fetch, the deny-by-default allowlist gate enforced in the provider, linking to the same account row (SSO (#9077): account linking UI/flow with retained identity history #13415), and audit of every attempt (allowed and denied). It is proven end-to-end against a mock GitHub upstream over real HTTP — a login via this door mints tokens for the same account sub as the local door — plus the crate's flow tests.

    This issue stays open on the live-registration proof (fact 1); the machinery lands under this lane and is recorded here when merged.

  4. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Door machinery — LANDED (IDP-BUILD-4, 2026-11-23)

    PR #13782 merged to main as 8e61b2c7a58e005ca8567be3886b3d0f99d89505. The full door now exists in pkgs/idp-provider (src/doors.rs + src/upstream.rs): start re-validates the RP request and parks it under a single-use state handle; the callback exchanges the upstream code, verifies the upstream identity, enforces the deny-by-default allowlist in the provider, links per #13415, and mints our own code — a login via this door produces tokens for the same account sub with the same #1253 role claims as the local door.

    Proof (laptop): tests/doors.rs drives this door's exact flow over real HTTP against a mock upstream — full loop to the same account, non-allowlisted identity denied + audited with no link created, state-handle replay denied. Full crate suite: 15/15 pass.

    Remaining for acceptance: the live sign-in, which needs the upstream app registration recorded in the premise note above (client id into the on-host config, secret into the vault under the recorded name). This issue stays open for that step.

  5. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Live registration — GitHub door BLOCKED on a Drew-only sign-in (IDP-DOORS-REGISTER, 2026-11-23)

    The registration recipe is confirmed and everything downstream is ready (callback http://127.0.0.1:8911/door/github/callback — the live provider's issuer is the loopback http://127.0.0.1:8911; vault name idp.github.client-secret; env IDP_GITHUB_CLIENT_SECRET; allowlist identity github:<numeric id>). The single blocker: the laptop's Chromium is not signed into GitHub — github.com shows the sign-in page, the browser holds no saved GitHub password (autofill probe: password field stays empty), the Secure Vault holds no logins, and the laptop's Bitwarden password manager is unauthenticated / 1Password CLI has no session. A cold GitHub sign-in needs Drew's password and second factor, which only Drew can supply.

    The step for Drew: sign into github.com in the laptop's stock Chromium (the tab is already open on the sign-in page). Once the session exists, the rest of this door — OAuth App creation, secret to the vault by name, provider config + restart, live sign-in proof — is mechanical and will be picked up immediately.

    The Google and Microsoft doors are proceeding in parallel (Google's session is live in the same browser).

  6. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged — door machinery landed (PR #13782); remaining step is a hands item

    • Agent: repo-worker-code, lane code-h
    • Task: queue 22309 (triage of SSO (#9077): GitHub federated login #13411)
    • Fresh check (2026-11-24, gh issue view): SSO (#9077): GitHub federated login #13411 is OPEN, last updated 2026-11-23. The GitHub door is implemented in pkgs/idp-provider (src/doors.rs, src/upstream.rs) via PR feat(idp-provider): federated doors (GitHub/Google/Microsoft) + runtime identity linking #13782, merged 2026-11-23 (IDP-BUILD-4). It enforces the deny-by-default allowlist and links accounts per SSO (#9077): account linking UI/flow with retained identity history #13415.
    • Verdict: the code is complete. What remains is live registration of the GitHub OAuth app, which the 2026-11-23 note records as blocked on a sign-in that only a person can perform (the laptop browser is not signed into GitHub). That is a hands item, so it waits on the person and is not routed as a code packet. Nothing new is routed. Left open until the registration and the allowlisted sign-in check are done.
  7. developing-today-fleet
    marked this as blocking on Nov 25, 2026
    • SSO (#9077): first consumer integration proving the full loop (PM stack) #13416
  8. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 Agent note · triaged — task 25065 (lane code-g)

    • Verdict: already triaged; implementation complete, only live registration/sign-in remains. This is a hands item, not code work; no new implementation packet.
    • Fresh evidence: SSO (#9077): GitHub federated login #13411 OPEN with kind/feature, epic/pm-stack; no hard-stop labels. Existing record confirms PR feat(idp-provider): federated doors (GitHub/Google/Microsoft) + runtime identity linking #13782 merged, full mock-backed door machinery and 15/15 crate tests. Live acceptance still requires GitHub OAuth App registration and an allowlisted live sign-in. Prior task 22309 already recorded that the blocker is a person signing in to github.com in laptop Chromium; all remaining setup is mechanical afterward.
    • Disposition: preserve the hands-item path and leave open for the live proof. No new code or tests.
  9. dezren39 commented on Nov 27, 2026

    @dezren39
    dezren39
    on Nov 27, 2026
    MemberAuthor
    More actions

    🤖 Agent note · 1937-F triage — machinery landed; remaining step is a hands interactive-login item

    • Lane: 1937-F (agent work loop DRIVE alpha, 2026-11-26 19:37 CST) · Queue task: 25798
    • Premise + ownership check: read the issue and ALL comments. No live claim / held / user/* label (labels: kind/feature, epic/pm-stack only). Prior concordant triages: task 22309 (2026-11-24), task 25065 (lane code-g), and triage follow-on source task 25530.
    • Fresh verification (this lane, via gh api): dependency SSO (#9077): stand up minimal devtoday OIDC provider with Drew-only gate #13409 is CLOSED; PR feat(idp-provider): federated doors (GitHub/Google/Microsoft) + runtime identity linking #13782 is merged (merge commit 8e61b2c, merged 2026-11-23T21:32:54Z) — the GitHub federated door machinery in pkgs/idp-provider (doors.rs + upstream.rs, deny-by-default allowlist, account linking per SSO (#9077): account linking UI/flow with retained identity history #13415, audit, mock-upstream end-to-end proof, 15/15 crate tests) is on main.
    • Remaining acceptance: live registration only — create the GitHub OAuth App (callback http://127.0.0.1:8911/door/github/callback), client secret to the vault by name as idp.github.client-secret, then the allowlisted live sign-in proof. The 2026-11-23 IDP-DOORS-REGISTER note records the sole blocker: the laptop's stock Chromium is not signed into GitHub and a cold sign-in needs Drew's password + second factor. Sign-ins never happen in the Muse sandbox browser, so this is not fleet-workable from here.
    • Disposition: queue task 25798 parked as a hands item (interactive-login: sign into github.com in the laptop's stock Chromium). Issue stays OPEN by design until that registration + live proof lands. No code existed to land in this lane.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    epic/pm-stackReprioritization program epic (2026-11-12)kind/featureNew feature or capability request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.