feat: Added a new oauth.redirectHost field to make it possible to further extend MCP support
CI / All (ubuntu-latest) (push) Failing after 24s
CI / All (macos-latest) (push) Has been cancelled
CI / All (windows-latest) (push) Has been cancelled

This commit is contained in:
2026-07-07 15:35:04 -06:00
parent 7673799d83
commit b8990fdfc2
4 changed files with 11 additions and 1 deletions
+5
View File
@@ -646,11 +646,16 @@ pub async fn run_repl_command(
.and_then(|o| o.client_id.as_deref());
let callback_port =
spec.oauth.as_ref().and_then(|o| o.callback_port);
let redirect_host = spec
.oauth
.as_ref()
.and_then(|o| o.redirect_host.as_deref());
mcp::oauth::run_mcp_oauth_flow(
server_name,
url,
client_id,
callback_port,
redirect_host,
)
.await?;
println!("Authentication saved.");