/** * /.well-known/oauth-authorization-server — RFC 8414 Authorization Server Metadata * * Required by Anthropic Claude.ai connectors and by any spec-compliant * OAuth 2.1 client doing discovery. Without this endpoint the client cannot * find the authorization, token or registration URLs without being * pre-configured — which Anthropic's connector flow does not do. * * Spec: https://datatracker.ietf.org/doc/html/rfc8414 * * The base URL of every advertised endpoint is request-derived (lib/base-url), * so preview deploys, self-hosted forks and the canonical Vercel domain all * self-describe correctly without env-var overrides. * * No authentication required — this endpoint is public discovery. * * Locked by src/oauth-authorization-server.contract.test.ts. */ import type { VercelRequest, VercelResponse } from "./_types.js"; export default function handler(req: VercelRequest, res: VercelResponse): VercelResponse | undefined;