[auth] Implement CIMD conformance test (#37)
* add cimd test and negative test * Improve auth-test-no-cimd.ts documentation for clarity Address review feedback: expanded comments to better explain what CIMD is, why this client is non-compliant, and what behavior it's testing. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Remove .js extensions from relative imports tsx doesn't require .js extensions for TypeScript imports. Keeps .js for @modelcontextprotocol/sdk imports as those are external packages. Also improves auth-test-no-cimd.ts documentation for clarity. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Skip auth/basic-cimd test until SDK support lands Waiting on typescript-sdk PR #1127 for CIMD support. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Fix trailing whitespace in auth-test-no-cimd.ts 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
parent
f087e44bdb
commit
d303013e5d
1 changed files with 301 additions and 110 deletions
|
|
@ -52,5 +52,13 @@ export const SpecReferences: { [key: string]: SpecReference } = {
|
|||
MCP_AUTH_ERROR_HANDLING: {
|
||||
id: 'MCP-Auth-error-handling',
|
||||
url: 'https://modelcontextprotocol.io/specification/draft/basic/authorization#error-handling'
|
||||
},
|
||||
MCP_CLIENT_ID_METADATA_DOCUMENTS: {
|
||||
id: 'MCP-Client-ID-Metadata-Documents',
|
||||
url: 'https://modelcontextprotocol.io/specification/draft/basic/authorization#client-id-metadata-documents'
|
||||
},
|
||||
IETF_CIMD: {
|
||||
id: 'IETF-OAuth-Client-ID-Metadata-Document',
|
||||
url: 'https://datatracker.ietf.org/doc/html/draft-ietf-oauth-client-id-metadata-document-00'
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue