Persist MCP OAuth discovery metadata

🟢 open · #194 · Open-Legal-Products/mike ← lawyered0/mike · opened 21d ago by lawyered0 · +79-11 across 1 file · ↗ on GitHub

From the PR description

Summary

  • Persist MCP OAuth discovery metadata on token rows
  • Preserve token endpoint, authorization server, and resource values across client registration and token saves
  • Allows OAuth token refresh after access-token expiry without forcing reconnect

Verification

  • git diff --check
  • Targeted TypeScript check: ./node_modules/.bin/tsc --noEmit --pretty false --skipLibCheck --moduleResolution node16 --module node16 --target es2022 src/lib/mcp/oauth.ts

Our analysis

Persist MCP OAuth discovery metadata for silent token refresh — read the full analysis →

Think the analysis missed something the PR description covers?

Capture this PR into my fork

Download a Markdown prompt that tells Claude how to port every commit in this PR into your working tree. Run it via claude -p < capture-pull-194.md from inside the repo you want the changes in.

⬇ Download capture-pull-194.md