From 2077c8faff8074e8dd583175916618e5473f9064 Mon Sep 17 00:00:00 2001 From: Peter Nehrer Date: Mon, 21 Jul 2025 21:06:52 -0400 Subject: [PATCH] fix: Explicitly added client_id as an extra parameter causes bad token requests (#322) --- crates/rmcp/src/transport/auth.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/rmcp/src/transport/auth.rs b/crates/rmcp/src/transport/auth.rs index 729aac4..6717a1e 100644 --- a/crates/rmcp/src/transport/auth.rs +++ b/crates/rmcp/src/transport/auth.rs @@ -432,7 +432,6 @@ impl AuthorizationManager { // exchange token let token_result = oauth_client .exchange_code(AuthorizationCode::new(code.to_string())) - .add_extra_param("client_id", oauth_client.client_id().to_string()) .set_pkce_verifier(pkce_verifier) .request_async(&http_client) .await