feat: support protected resource metadata for mcp server #72
Annotations
5 errors
|
packages/mcp-auth/src/handlers/handle-bearer-auth.test.ts#L49
Error: snapshot function didn't throw
β― src/handlers/handle-bearer-auth.test.ts:49:7
|
packages/mcp-auth/src/index.test.ts#L72
Error: snapshot function didn't throw
β― src/index.test.ts:72:42
|
packages/mcp-auth/src/index.test.ts#L53
AssertionError: expected "warn" to be called with arguments: [ Array(1) ]
Received:
1st warn call:
[
- "The authorization server configuration has warnings:
-
- - Dynamic Client Registration (RFC 7591) is not supported by the server.
- ",
+ "The `server` config is deprecated. Please migrate to using only `protectedResource`.",
]
2nd warn call:
[
- "The authorization server configuration has warnings:
+ "The authorization server (issuer: `https://example.com`) configuration has warnings:
- Dynamic Client Registration (RFC 7591) is not supported by the server.
",
]
Number of calls: 2
β― src/index.test.ts:53:28
|
packages/mcp-auth/src/index.integration.test.ts#L76
Error: expected 401 "Unauthorized", got 500 "Internal Server Error"
β― src/index.integration.test.ts:76:86
β― Test._assertStatus ../../node_modules/.pnpm/supertest@7.1.0/node_modules/supertest/lib/test.js:267:14
β― ../../node_modules/.pnpm/supertest@7.1.0/node_modules/supertest/lib/test.js:323:13
β― Test._assertFunction ../../node_modules/.pnpm/supertest@7.1.0/node_modules/supertest/lib/test.js:300:13
β― Test.assert ../../node_modules/.pnpm/supertest@7.1.0/node_modules/supertest/lib/test.js:179:23
β― Server.localAssert ../../node_modules/.pnpm/supertest@7.1.0/node_modules/supertest/lib/test.js:135:14
|
The logs for this run have expired and are no longer available.
Loading