We’re trying to deploy an existing ChatGPT Site from Codex Desktop on macOS. The source and build are tested, and the Sites connector successfully issues a short-lived repository write credential through create_source_repository_write_credential.
Authentication worked for a read-only Git operation. However, Codex’s automatic approval review rejected a push because passing the Bearer token through git -c http.extraHeader=... exposes it in the execution-tool transcript.
Git supports --config-env=http.extraHeader=SITES_AUTH_HEADER, but we haven’t found a supported way to transfer the connector-issued token into that environment variable without including it in another logged tool argument.
Could OpenAI clarify:
-
What is the supported way to securely authenticate a Sites source push from Codex Desktop?
-
Does issuing a new source-repository credential immediately revoke the previous token, or can both remain valid until their respective expiration times?
-
Is there an explicit revocation operation for these credentials?
-
Is there a supported upload or publishing flow that handles source authentication internally?
We’re asking specifically about Sites source-repository write tokens, not OpenAI API keys, ChatGPT login tokens, or Site visitor authentication.