Summary
Installing the PostHog plugin from the OpenAI-curated marketplace succeeds, but completing the PostHog OAuth flow consistently fails when Codex Desktop submits the callback to OpenAI's connector backend.
The visible UI reports only:
We couldn't connect your account. Please try again.
Codex then automatically rolls back and uninstalls the plugin.
Environment
- Codex Desktop release:
26.730.61639
- macOS:
26.5.1
- Architecture: Apple Silicon (
arm64)
- Plugin source:
posthog@openai-curated-remote
- Plugin version observed locally:
0.1.2
- Connector ID:
asdk_app_699caef2d680819188727b0ddbb349dd
Steps to reproduce
- Open the Codex Desktop plugin marketplace.
- Install the OpenAI-curated PostHog plugin.
- Complete the PostHog authorization flow in the browser.
- Return to Codex.
Expected behavior
The OAuth callback completes and the PostHog app remains installed and connected.
Actual behavior
Plugin installation initially succeeds:
plugin_install_succeeded
pluginName=plugin_asdk_app_699caef2d680819188727b0ddbb349dd
remoteMarketplaceName=openai-curated-remote
The subsequent callback request fails:
POST /aip/connectors/links/oauth/callback
status=400
{"detail":{"message":"We couldn't connect your account. Please try again.","status_code":400,"connector_id":"asdk_app_699caef2d680819188727b0ddbb349dd"}}
Failed to finish app OAuth callback
Codex then rolls back the installation:
plugin_uninstall_succeeded
pluginId=plugin_asdk_app_699caef2d680819188727b0ddbb349dd
The local reconciliation state records both oauthFailed: true and rolledBack: true.
Reproducibility
This occurred on five separate fresh installation/authorization attempts on 2026-08-07:
- 09:06:42 UTC
- 09:09:02 UTC
- 09:45:01 UTC
- 10:04:40 UTC
- 10:07:00 UTC
The plugin installation itself succeeded every time; the failure was consistently at the OAuth callback. No PostHog provider error, token-exchange response, or more specific diagnostic was exposed in the local client logs.
Additional context
This appears to be the OpenAI-curated app/connector flow, rather than the direct GitHub-marketplace MCP installation path documented in this repository. If this report belongs in a different tracker, please point me to the appropriate owner.
Could the connector/backend logs for the connector ID and timestamps above reveal the underlying PostHog OAuth error?
Summary
Installing the PostHog plugin from the OpenAI-curated marketplace succeeds, but completing the PostHog OAuth flow consistently fails when Codex Desktop submits the callback to OpenAI's connector backend.
The visible UI reports only:
Codex then automatically rolls back and uninstalls the plugin.
Environment
26.730.6163926.5.1arm64)posthog@openai-curated-remote0.1.2asdk_app_699caef2d680819188727b0ddbb349ddSteps to reproduce
Expected behavior
The OAuth callback completes and the PostHog app remains installed and connected.
Actual behavior
Plugin installation initially succeeds:
The subsequent callback request fails:
Codex then rolls back the installation:
The local reconciliation state records both
oauthFailed: trueandrolledBack: true.Reproducibility
This occurred on five separate fresh installation/authorization attempts on 2026-08-07:
The plugin installation itself succeeded every time; the failure was consistently at the OAuth callback. No PostHog provider error, token-exchange response, or more specific diagnostic was exposed in the local client logs.
Additional context
This appears to be the OpenAI-curated app/connector flow, rather than the direct GitHub-marketplace MCP installation path documented in this repository. If this report belongs in a different tracker, please point me to the appropriate owner.
Could the connector/backend logs for the connector ID and timestamps above reveal the underlying PostHog OAuth error?