fix: properly handle OAuth refreshes
CI / All (ubuntu-latest) (push) Failing after 29s
CI / All (macos-latest) (push) Has been cancelled
CI / All (windows-latest) (push) Has been cancelled

This commit is contained in:
2026-08-13 16:00:42 -06:00
parent c2b0c120d7
commit 0f35e03a85
6 changed files with 630 additions and 76 deletions
+1 -1
View File
@@ -327,7 +327,7 @@ impl McpRegistry {
.with_context(|| format!("MCP server not found in config: {id}"))?;
let bearer_token = if spec.is_remote() {
oauth::load_valid_mcp_token(&id)
oauth::load_or_refresh_mcp_token(&id).await
} else {
None
};