fix: Explicitly added client_id as an extra parameter causes bad token requests (#322)

This commit is contained in:
Peter Nehrer 2025-07-21 21:06:52 -04:00 • committed by GitHub
commit 2077c8faff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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