docs: fix /.well-known/oauth-protected-resource route (#4439)

Co-authored-by: KinfeMichael Tariku <65047246+Kinfe123@users.noreply.github.com>
This commit is contained in:
Paolo Ricciuti
2025-09-05 18:10:42 +02:00
committed by GitHub
parent e812142c6c
commit c5f595a767

View File

@@ -70,7 +70,7 @@ export const GET = oAuthDiscoveryMetadata(auth);
Add a route to expose protected resource metadata for MCP clients:
```ts title=".well-known/oauth-authorization-server/route.ts"
```ts title="/.well-known/oauth-protected-resource/route.ts"
import { oAuthProtectedResourceMetadata } from "better-auth/plugins";
import { auth } from "@/lib/auth";