Skip to content

fix(auth): canonicalize MCP resource URLs - #1614

Merged
realcodesiman merged 1 commit into
mainfrom
fix/canonical-mcp-resource
Nov 2, 2026
Merged

realcodesiman merged 1 commit into
mainfrom
fix/canonical-mcp-resource

Conversation

@realcodesiman

Copy link
Copy Markdown
Contributor

Summary

  • Canonicalize ChatGPT legacy SSE and Streamable HTTP MCP transport URLs to the registered resource.
  • Preserve all other explicit client resource values for Better Auth validation.

Verification

  • pnpm lint
  • pnpm --filter @chatbotx.io/auth exec tsc --noEmit
  • VITEST_MAX_WORKERS=1 pnpm --filter @chatbotx.io/auth exec vitest run __tests__/mcp-default-resource.test.ts
  • Pre-commit hook: Ultracite and workspace typecheck

@github-actions github-actions Bot added the bug Something isn't working as expected label Nov 2, 2026
@realcodesiman
realcodesiman merged commit d184035 into main Nov 2, 2026
15 checks passed
hello-jackytruong referenced this pull request in hello-jackytruong/ChatWorkAI Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working as expected

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant