From f855a45493cd26e66c4d89aa7d01c21ec6f17a53 Mon Sep 17 00:00:00 2001 From: Alex Clarke Date: Tue, 7 Jul 2026 14:44:35 -0600 Subject: [PATCH] fix: updated the redirect URI for OAuth MCP to use localhost since that's what is whitelisted, not 127.0.0.1 --- src/mcp/oauth.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mcp/oauth.rs b/src/mcp/oauth.rs index c58fc93..b62d6c6 100644 --- a/src/mcp/oauth.rs +++ b/src/mcp/oauth.rs @@ -88,7 +88,7 @@ pub async fn run_mcp_oauth_flow( let listener = TcpListener::bind(&bind_addr)?; let port = listener.local_addr()?.port(); drop(listener); - let redirect_uri = format!("http://127.0.0.1:{port}/callback"); + let redirect_uri = format!("http://localhost:{port}/callback"); let client_id = if let Some(id) = configured_client_id { id.to_string()