Add PUBLIC_BASE_URL and refine OAuth scopes
This commit is contained in:
@@ -22,11 +22,12 @@ components:
|
||||
# The token URL must point to the MCP server's OAuth proxy endpoint.
|
||||
tokenUrl: "https://YOUR_MCP_SERVER_DOMAIN/oauth/token"
|
||||
scopes:
|
||||
read: "Read access to Gitea repositories"
|
||||
read:repository: "Read access to Gitea repositories"
|
||||
write:repository: "Write access to Gitea repositories"
|
||||
|
||||
security:
|
||||
- gitea_oauth:
|
||||
- read
|
||||
- read:repository
|
||||
|
||||
paths:
|
||||
/mcp/tools:
|
||||
@@ -63,7 +64,7 @@ paths:
|
||||
so only repositories and data accessible to the user will be returned.
|
||||
security:
|
||||
- gitea_oauth:
|
||||
- read
|
||||
- read:repository
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
|
||||
Reference in New Issue
Block a user