fix: Explicitly added client_id as an extra parameter causes bad token requests (#322)
This commit is contained in:
parent
8967daf87f
commit
2077c8faff
1 changed files with 0 additions and 1 deletions
|
|
@ -432,7 +432,6 @@ impl AuthorizationManager {
|
||||||
// exchange token
|
// exchange token
|
||||||
let token_result = oauth_client
|
let token_result = oauth_client
|
||||||
.exchange_code(AuthorizationCode::new(code.to_string()))
|
.exchange_code(AuthorizationCode::new(code.to_string()))
|
||||||
.add_extra_param("client_id", oauth_client.client_id().to_string())
|
|
||||||
.set_pkce_verifier(pkce_verifier)
|
.set_pkce_verifier(pkce_verifier)
|
||||||
.request_async(&http_client)
|
.request_async(&http_client)
|
||||||
.await
|
.await
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue