fix: update mcp tool auth

This commit is contained in:
Novice
2025-06-18 17:58:59 +08:00
parent 094727a16a
commit 9dd1cd9df8
5 changed files with 50 additions and 18 deletions

View File

@ -715,6 +715,7 @@ class ToolMCPAuthApi(Resource):
except MCPAuthError:
auth_provider = OAuthClientProvider(provider_id, tenant_id)
return auth(auth_provider, server_url, args["authorization_code"])