From a8534162c2c1d78b7af0a9047dbf26d9627235c8 Mon Sep 17 00:00:00 2001 From: Peter Nehrer Date: Thu, 17 Jul 2025 11:10:24 -0600 Subject: [PATCH] fix: Explicitly added client_id as an extra parameter causes bad token requests --- 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 729aac41..6717a1eb 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