Skip to content

Commit 2077c8f

Browse files
authored
fix: Explicitly added client_id as an extra parameter causes bad token requests (#322)
1 parent 8967daf commit 2077c8f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

crates/rmcp/src/transport/auth.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,6 @@ impl AuthorizationManager {
432432
// exchange token
433433
let token_result = oauth_client
434434
.exchange_code(AuthorizationCode::new(code.to_string()))
435-
.add_extra_param("client_id", oauth_client.client_id().to_string())
436435
.set_pkce_verifier(pkce_verifier)
437436
.request_async(&http_client)
438437
.await

0 commit comments

Comments
 (0)