@codex review says “create a Codex account and connect to GitHub” although Codex web can access the repo

Open 💬 2 comments Opened Jun 26, 2026 by mhtranbn

What issue are you seeing?

What issue are you seeing?

When I comment @codex review on a GitHub pull request, Codex replies with:

To use Codex here, create a Codex account and connect to github.

However, Codex web can access the same repository successfully. I can open chatgpt.com/codex, select the repository, and run a Codex task against it without issues.

So the GitHub connector and repository access appear to be working. The problem seems specific to the GitHub PR comment trigger / code review integration.

Context:

  • This worked before with the same GitHub account.
  • I previously had another ChatGPT account/workspace connected, but that account is no longer Plus.
  • I moved back to my active Plus account.
  • GitHub connector shows as connected.
  • GitHub App is installed and active.
  • Repository access is granted.
  • Codex web can access the repository and run tasks successfully.

<img width="968" height="166" alt="Image" src="https://github.com/user-attachments/assets/e0a706f1-812a-4e0f-a5cb-41eedd1071a4" />

What steps can reproduce the bug?

What steps can reproduce the bug?

  1. Log in to ChatGPT with my active Plus account.
  2. Connect GitHub in ChatGPT/Codex settings.
  3. Confirm the GitHub App is installed and has access to the target repository.
  4. Open chatgpt.com/codex.
  5. Select the same repository and run a small task, for example: Review the latest pull request diff and summarize possible risks. Do not modify files.
  6. Confirm that the Codex web task runs successfully.
  7. Open a pull request in the same GitHub repository.
  8. Add a new PR comment: @codex review.
  9. Codex replies with: To use Codex here, create a Codex account and connect to github.

Already tried:

  • Disconnecting and reconnecting GitHub in ChatGPT/Codex settings
  • Revoking GitHub OAuth authorization
  • Uninstalling and reinstalling the GitHub App
  • Granting access to all repositories
  • Logging out and back in with the correct ChatGPT and GitHub accounts
  • Waiting and retrying with a new @codex review comment

What is the expected behavior?

What is the expected behavior?

@codex review should start a Codex code review on the pull request and post the review result back to GitHub.

Since Codex web can access the same repository and run tasks successfully, the GitHub connector and repository permissions seem to be valid.

Additional information

Additional information

This may be a server-side auth/workspace binding issue between my GitHub identity and a previous ChatGPT/Codex workspace.

The issue appears to affect only the GitHub PR comment trigger. Direct Codex web tasks work correctly for the same repository.

Please let me know if you need my GitHub username, workspace details, repository URL, or PR URL privately.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗