We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0de082 commit 3e90adeCopy full SHA for 3e90ade
src/server/auth/handlers/metadata.ts
@@ -10,7 +10,7 @@ export function metadataHandler(metadata: OAuthMetadata | OAuthProtectedResource
10
// Configure CORS to allow any origin, to make accessible to web-based MCP clients
11
router.use(cors());
12
13
- router.use(allowedMethods(['GET']));
+ router.use(allowedMethods(['GET', 'OPTIONS']));
14
router.get('/', (req, res) => {
15
res.status(200).json(metadata);
16
});
0 commit comments