oAuthProtectedResourceMetadata is not exported from plugins
The documentation here states that you need to expose a route to send the 
oAuthProtectedResourceMetadata which makes sense but:
1. the route file is wrong (name of the file is .well-known/oauth-authorization-server/route.ts which is to expose the oauth autorization server rather than the metadata
2. the utility is not actually exported from better-auth/plugins
Am i doing something wrong?
https://www.better-auth.com/docs/plugins/mcp#oauth-protected-resource-metadataMCP | Better Auth
MCP provider plugin for Better Auth
0 Replies