mirror of
https://github.com/openai/codex.git
synced 2026-10-20 17:38:45 +00:00
Update codex-rs/rmcp-client/src/oauth.rs
Co-authored-by: viyatb-oai <viyatb@openai.com>
This commit is contained in:
committed by
celia-oai
co-authored by
viyatb-oai
parent
89901665a2
commit
9ad1a16856
@@ -402,7 +402,11 @@ fn delete_oauth_tokens_from_keyring<K: KeyringStore + Clone + 'static>(
|
||||
delete_oauth_tokens_from_direct_keyring(keyring_store, server_name, url)
|
||||
}
|
||||
AuthKeyringBackendKind::Secrets => {
|
||||
delete_oauth_tokens_from_secrets_keyring(keyring_store, server_name, url)
|
||||
let direct_removed =
|
||||
delete_oauth_tokens_from_direct_keyring(keyring_store, server_name, url)?;
|
||||
let secrets_removed =
|
||||
delete_oauth_tokens_from_secrets_keyring(keyring_store, server_name, url)?;
|
||||
Ok(direct_removed || secrets_removed)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user