Return the OAuth task id from the MCP test route

The client follows an MCP sign-in by its task's events, but the test route
kept only success, requires_oauth and auth_url, so the wizard and the custom
MCP modal reported a failed sign-in before the popup could load.
This commit is contained in:
arc53-machine committed 2026-09-28 23:16:42 +01:00
1 parent a9390ec39e
commit 46928cba3d
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -217,7 +217,7 @@ class TestMCPServerConfig(Resource):
safe_result = {
k: v
for k, v in result.items()
if k in ("success", "requires_oauth", "auth_url")
if k in ("success", "requires_oauth", "auth_url", "task_id")
}
return make_response(jsonify(safe_result), 200)