fix(provider): harden Agent Identity OAuth lifecycle

This commit is contained in:
elky
2026-07-23 09:33:00 +08:00
parent e49024d33b
commit 3606290ac8
84 changed files with 8063 additions and 1104 deletions
@@ -3147,6 +3147,8 @@ async fn gateway_pool_keys_classify_oauth_credentials() {
.expect("Agent Identity key should exist");
assert_eq!(agent_identity_key["oauth_header_auth"], false);
assert_eq!(agent_identity_key["agent_identity"], true);
assert_eq!(agent_identity_key["can_refresh_oauth"], true);
assert_eq!(agent_identity_key["can_export_oauth"], false);
}
#[tokio::test]