Repository navigation
Commit 1f2cc18
feat(serveredition): generic OIDC provider, front door behind an ingress, telemetry v13 (Spec 107 PR-B) (#1292)
* docs(specs): Spec 107 — server edition SSO front door hardened for real IdPs
Generic OIDC provider, IdP-group → server allowlist, attributable JSONL
audit line, and a freeze/cut of the latent multiuser/credential-injection
code, split into four PRs (A freeze/cut, B OIDC + front door + telemetry,
C entitlement predicate + tenant session, D audit line).
Judge-panel drafted; cross-model reviewed over nine rounds (codex gpt-5.6-sol),
~130 findings resolved. Un-parks roadmap epic sso.
* test(spec-107): PR-A red tests, server-tag lint job and release notice
Related #1177
* refactor(serveredition): freeze the latent credential-injection chain and normalise removed config keys (Spec 107 PR-A)
Related #1177
* fix(storage): enforce the agent-token cap per owner, not per deployment (Spec 107 PR-A)
Closes #1177
* fix(spec-107): address adversarial review of PR-A
* fix(spec-107): codex round 1 for PR-A
* fix(spec-107): codex round 2 for PR-A
* fix(spec-107): codex round 3 for PR-A
* fix(spec-107): codex round 4 for PR-A
* docs(spec-107): PR-A verification and task ticks
* docs(roadmap): link PR-A
* test(oauthserver): fake OIDC identity provider and server-edition dev rig (Spec 107 PR-B)
* test(serveredition): red tests for the generic OIDC provider, subject binding and refusals (Spec 107 PR-B)
* feat(serveredition): generic OIDC provider with JWKS-verified ID tokens, groups capture and subject binding (Spec 107 PR-B)
Related #1169
* test(serveredition): red tests for trusted proxies, public URL, cookie security and forced MCP auth (Spec 107 PR-B)
* feat(serveredition): front door behind an ingress — public URL, trusted proxies, cookie security policy, forced MCP auth, provider probe (Spec 107 PR-B)
* feat(config,telemetry): hot-reload clauses, docs and OAS for the PR-B keys; telemetry v13 server-edition fields (Spec 107 PR-B)
* fix(spec-107): gate fixes for PR-B
* docs(spec-107): PR-B automated-check evidence
* fix(spec-107): cross-review round 1 for PR-B
* fix(spec-107): cross-review round 2 for PR-B
* fix(spec-107): cross-review round 3 for PR-B
* fix(spec-107): cross-review round 3 for PR-B
* fix(spec-107): cross-review round 4 for PR-B
* fix(spec-107): cross-review round 5 for PR-B
* fix(spec-107): cross-review round 6 for PR-B
* docs(spec-107): PR-B real-instance verification, gate re-run, task ticks
T062/T063: real-instance verification of the OIDC front door (happy-path
login, groups, /auth/me, agent-token mint + /mcp initialize/tools-list,
ErrorMode tamper matrix, cookie Secure matrix behind a simulated trusted vs
untrusted proxy) and the telemetry v13 payload (server vs personal). T064:
full gate set re-run on HEAD after cross-review round 6 touched the config
load path, oauth_handler.go and telemetry.go — all green. T066: tick
completed PR-B tasks (T032-T066); ROADMAP.md regenerated.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
* docs(roadmap): link PR-B
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
* fix(ci): pull forward the Windows heap-corruption + Pass-2 race fix (#1288)
This branch diverged from main before #1288 landed, so PR-B's CI hit the
exact regression it fixed: handleAddFromRegistry's success path dereferenced
a nil cfg, chi's recoverer turned the panic into a bare 500, and the
recovered hardware fault corrupted the Go heap on windows/amd64 under Go
1.26 (golang/go#81238) — the internal/httpapi test binary crashed with
"found pointer to free object" and took the whole Windows unit-test job (and
the binaries job's httpapi/scanner test bundle) down with it. Cherry-picked
the same fix main already carries: the nil-config guard with a JSON 500 (and
its pinning test), plus the unrelated Pass-2 temp-dir teardown race fix in
the scanner test this same upstream commit bundled.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
* docs(spec-107): record the CI red/fix cycle for PR-B
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
* docs(spec-107): record PR-B CI green
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
* fix(spec-107): cross-review round 7 for PR-B
* fix(spec-107): cross-review round 8 for PR-B
* fix(web-ui): update hard-reload auth-guard test for the FR-030 provider probe
The merge of origin/main (#1294, shared in-flight auth probe) into
107-b-oidc-front-door (#1292, generic OIDC provider) combined without a
conflict, but PR-B's auth store change (probe() now calls
authApi.getProvider() instead of api.getStatus() for edition detection,
Spec 107 FR-030/FR-041) left the test file's mocks pointed at the old
api.getStatus() call, so every test silently no-oped through probe()'s
catch block. Repoint the spy at authApi.getProvider() and update the
resolved payload shape ({ display_name } instead of
{ data: { edition } }); the in-flight-probe-sharing behaviour under test
is unchanged.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
* fix(test): match TestLoadConfig_ListenFlag to loadConfig's 3-value signature
Mirrors main's ce5c2f7 fix for the same loadConfig signature mismatch
that broke the Build Binaries CI job on this PR.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>1 parent 4b1ca73 commit 1f2cc18
120 files changed
Lines changed: 15381 additions & 651 deletions
File tree
- .github
- cmd/mcpproxy
- docs
- configuration
- development
- features
- getting-started
- operations
- frontend
- src
- services
- stores
- views
- settings
- teams
- tests/unit
- internal
- config
- httpapi
- management
- reqcontext
- runtime
- serveredition
- api
- auth
- broker
- users
- server
- telemetry
- native/macos/MCPProxy
- MCPProxyTests
- MCPProxy/Settings
- oas
- scripts
- specs/107-server-edition-sso-hardening
- tests/oauthserver
- cmd/server
- templates
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
| 426 | + | |
426 | 427 | | |
427 | 428 | | |
428 | | - | |
429 | | - | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
430 | 432 | | |
431 | 433 | | |
432 | 434 | | |
433 | 435 | | |
434 | | - | |
435 | | - | |
| 436 | + | |
| 437 | + | |
436 | 438 | | |
437 | 439 | | |
438 | 440 | | |
| |||
894 | 896 | | |
895 | 897 | | |
896 | 898 | | |
897 | | - | |
| 899 | + | |
898 | 900 | | |
899 | 901 | | |
900 | 902 | | |
| |||
1036 | 1038 | | |
1037 | 1039 | | |
1038 | 1040 | | |
1039 | | - | |
| 1041 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
654 | 654 | | |
655 | 655 | | |
656 | 656 | | |
| 657 | + | |
657 | 658 | | |
658 | 659 | | |
659 | 660 | | |
| |||
665 | 666 | | |
666 | 667 | | |
667 | 668 | | |
| 669 | + | |
668 | 670 | | |
669 | 671 | | |
670 | 672 | | |
| |||
1627 | 1629 | | |
1628 | 1630 | | |
1629 | 1631 | | |
| 1632 | + | |
| 1633 | + | |
1630 | 1634 | | |
1631 | 1635 | | |
1632 | 1636 | | |
| |||
0 commit comments