fix: updated the redirect URI for OAuth MCP to use localhost since that's what is whitelisted, not 127.0.0.1
CI / All (macos-latest) (push) Waiting to run
CI / All (windows-latest) (push) Waiting to run
CI / All (ubuntu-latest) (push) Failing after 25s

This commit is contained in:
2026-07-07 14:44:35 -06:00
parent 5be4f45671
commit f855a45493
+1 -1
View File
@@ -88,7 +88,7 @@ pub async fn run_mcp_oauth_flow(
let listener = TcpListener::bind(&bind_addr)?; let listener = TcpListener::bind(&bind_addr)?;
let port = listener.local_addr()?.port(); let port = listener.local_addr()?.port();
drop(listener); 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 { let client_id = if let Some(id) = configured_client_id {
id.to_string() id.to_string()