fix: align codex oauth wire behavior

This commit is contained in:
2026-05-28 01:57:04 +09:00
parent 00596d3f9a
commit 876d75a747
5 changed files with 245 additions and 10 deletions
+4
View File
@@ -188,6 +188,10 @@ impl AuthProvider for CodexAuthProvider {
.map_err(CodexAuthError::to_client_error)?;
Self::build_headers(&snap).map_err(CodexAuthError::to_client_error)
}
fn is_codex_backend(&self) -> bool {
true
}
}
/// `access_token` の JWT `exp` を見て、期限切れなら true。