···11+import { getOAuthClient } from "@/lib/auth/client";
22+import { NextResponse } from "next/server";
33+44+// The URL of this endpoint IS your client_id
55+// Authorization servers fetch this to learn about your app
66+77+export async function GET() {
88+ const client = await getOAuthClient();
99+ return NextResponse.json(client.clientMetadata);
1010+}