Skip to content

fix(oauth): publish canonical issuer in introspection - #74

Merged
halfaipg merged 1 commit into
mainfrom
fix/mcp-public-issuer
Aug 30, 2026
Merged

fix(oauth): publish canonical issuer in introspection#74
halfaipg merged 1 commit into
mainfrom
fix/mcp-public-issuer

Conversation

@halfaipg

Copy link
Copy Markdown

Summary

  • return the configured public OAuth issuer from token introspection
  • preserve the internal signed-token issuer as an implementation detail
  • assert issuer, audience, and client binding in the OAuth lifecycle test

Why

The supervised production MCP canary proved that Core-issued tokens authenticate directly but were rejected by the remote MCP verifier because introspection returned grid-core instead of the public issuer advertised in OAuth metadata. No paid MCP generation ran.

Verification

  • git diff --check
  • .venv/bin/pytest -q grid_api/services/tests/test_oauth_server.py grid_api/routers/tests/test_oauth_contract.py (13 passed)

@halfaipg
halfaipg merged commit 0e151d7 into main Aug 30, 2026
9 checks passed
@halfaipg
halfaipg deleted the fix/mcp-public-issuer branch August 30, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant