Skip to content

feat(mcp): bind validated OAuth subscriptions - #660

Merged
akadlec merged 1 commit into
mainfrom
codex/mcp-oauth-phase-5c
Aug 9, 2026
Merged

feat(mcp): bind validated OAuth subscriptions#660
akadlec merged 1 commit into
mainfrom
codex/mcp-oauth-phase-5c

Conversation

@akadlec

@akadlec akadlec commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • carry the stable access-token management ID, exact authorization deadline, effective OAuth scopes, and module/client/grant generations through validated OAuth principals
  • fail closed when persistent module-policy generation state is unavailable
  • bind OAuth listen subscriptions to validated internal client and artifact identities
  • record effective scopes and authorization generations on subscription records while preserving static subscription behavior
  • update the Phase 5 implementation plan to mark validated subscription binding complete

Why

The targeted invalidation registry added in Phase 5b was not yet connected to validated OAuth requests. Phase 5c establishes that runtime identity boundary so future revocation and scope-contraction mutations can target streams using non-secret management identities and generation snapshots.

Impact

No public OAuth routes or user-facing enable switch are exposed. Static MCP subscription registration remains unchanged. The authoritative subscription registration/invalidation generation gate remains intentionally deferred to the next Phase 5 slice.

Validation

  • backend TypeScript type-check
  • targeted backend lint
  • Prettier verification
  • 38 focused tests
  • 2 snapshots
  • git diff --check

@github-actions github-actions Bot added backend Backend app related docs labels Aug 9, 2026
@akadlec akadlec self-assigned this Aug 9, 2026
@akadlec
akadlec marked this pull request as ready for review August 9, 2026 17:00
@akadlec
akadlec merged commit 336305e into main Aug 9, 2026
11 checks passed
@akadlec
akadlec deleted the codex/mcp-oauth-phase-5c branch August 9, 2026 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Backend app related docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant