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

Open 💬 19 comments Opened Feb 16, 2026 by nicoloceneda

What issue are you seeing?

When I invoke @codex to review a PR I get this message:

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

I have enabled the connector:

<img width="224" height="179" alt="Image" src="https://github.com/user-attachments/assets/410bc5eb-4c56-46c2-97d5-6e4351f34936" />

and I verified that it is active on GitHub:

<img width="953" height="343" alt="Image" src="https://github.com/user-attachments/assets/b9a3d016-d2b9-4c66-867f-e3a7f900f2f9" />

I have also made sure that it was active on all repos:

<img width="965" height="656" alt="Image" src="https://github.com/user-attachments/assets/e5b0e85e-366b-4300-8b6c-e2ba47d54ddc" />

It was working fine one month ago.

What steps can reproduce the bug?

Enable codex github connector and ask to review a PR.

What is the expected behavior?

To review the PR.

Additional information

I have tried disconnecting and reconnecting but it does not work.

View original on GitHub ↗

19 Comments

EDM115 · 4 months ago

try to disconnect & reconnect the GitHub connector in chatgpt.com, not in codex. This ended up working for me

llj0824 · 4 months ago

had the same issue, reconnecting did work for me however.

Just a sanity check, check if repo exists in the selection?
<img width="1015" height="306" alt="Image" src="https://github.com/user-attachments/assets/f069ba30-bc96-417c-a0b3-52f45ab6a865" />

felipelincoln · 4 months ago

I have tried everything, even a new ChatGPT account, nothing works

alexander-schneider · 4 months ago

Also not working for me :/ tried everything

debugtheworldbot · 3 months ago

same here

thinkasany · 3 months ago

same here

toddfraser · 3 months ago

I just managed to get this to work! I was disconnecting and reconnecting everything over and over with no avail. Then I saw a sync setting I've never seen before. I enabled it for my repo and now @codex review works 🤷‍♂️

<img width="702" height="488" alt="Image" src="https://github.com/user-attachments/assets/27bb3311-6a76-4f73-833b-fcd8fd5b9190" />

OrF8 · 3 months ago
I just managed to get this to work! I was disconnecting and reconnecting everything over and over with no avail. Then I saw a sync setting I've never seen before. I enabled it for my repo and now @codex review works 🤷‍♂️ <img alt="Image" width="702" height="488" src="https://private-user-images.githubusercontent.com/311078/570630685-27bb3311-6a76-4f73-833b-fcd8fd5b9190.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU2MDMxNzIsIm5iZiI6MTc3NTYwMjg3MiwicGF0aCI6Ii8zMTEwNzgvNTcwNjMwNjg1LTI3YmIzMzExLTZhNzYtNGY3My04MzNiLWZjZDhmZDViOTE5MC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwNDA3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDQwN1QyMzAxMTJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lMDhkZTI4N2UxNWVjYWUyMzQxMTdjY2QzMWNiNzAzMzY3MWZmNGVkYzI5YjFkZjE5YWJhYTk1YWEyZGZhMGE4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.FHUoS4mEruwtuR4hSmbCD6UlzlONbJ7ggb1cLinO_UI">

Thanks for this tip! Helped me a lot!

AnyTng · 3 months ago

having the same issue here :(

simonsickle · 3 months ago

also experiencing this same issue, no matter what I do I can not get github re-paired with code reviews. the local app and web apps can pull from github and use it but tagging codex will result in no code review. Even security reviews work...

t4sj4n · 3 months ago

I managed to fix it. Disconnect via Codex (Cloud) in ChatGPT, not Github App in ChatGPT und reconnect again:

<img width="498" height="360" alt="Image" src="https://github.com/user-attachments/assets/3ed8a6de-dcb1-4cf7-8e6f-48dbf4ed92ad" />

makoMakoGo · 2 months ago

the same , tried all of the above methods still failed

I can reproduce this on my own repository, not just collaborator-owned repositories.

Repo: makoMakoGo/fish-claude
GitHub actor: makoMakoGo
Repo owner: makoMakoGo
My permission: admin and owner
The repository is visible to the ChatGPT GitHub connector and indexed.
The Codex connector bot receives the PR comment and replies, so GitHub webhooks and bot permissions are working.

When I comment:
@codex review

chatgpt-codex-connector[bot] replies:
"To use Codex here, create a Codex account and connect to github."

This means the failure is not repository permission or GitHub App installation. It appears to be an OpenAI Codex code review auth / entitlement / GitHub identity mapping bug, similar to openai/codex#11881.

randyy179 · 2 months ago

I am seeing the same issue.

GitHub username: randyy179
ChatGPT plan: Plus
Repository type: private repo under my personal GitHub account
Trigger used in PR comment: @codex review

What works:

  • ChatGPT Codex Connector is installed on my personal GitHub account, Shanren / randyy179.
  • The GitHub App has access to the target private repository.
  • Codex Web can see the repository.
  • I created a Codex environment for randyy179/kronos-research-private.
  • Codex → Settings → Code review shows randyy179/kronos-research-private.
  • Code review is enabled for the repository.
  • A Codex Web task can run against the repo/branch.

What fails:

  • In the GitHub PR, commenting @codex review still returns:

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

I have already tried:

  • disconnecting and reconnecting GitHub in Codex
  • reinstalling / reconfiguring the GitHub App
  • limiting repository access to the specific repo
  • creating the Codex environment
  • explicitly enabling code review for the repository

This looks like the GitHub comment trigger is not mapping my GitHub commenter identity to my connected Codex account, even though Codex Web is connected and the repo is enabled.

dang0705 · 1 month ago

same here, I've tried everything and spent almost whole afternoon, but still no work

habibitcoin · 1 month ago

same issue, tried everything in this thread, no-go for the whole week

digitaljc · 1 month ago

On ChatGPT Plus, Codex code review fails on every @codex review with: “To use Codex here, create a Codex account and connect to github” — even though the GitHub connection shows as connected.

Background: the connector was first set up under a different account whose workspace later deactivated. The error started as “This workspace is deactivated. Select an active workspace.”

After switching to my active account, it changed to the “connect to GitHub” message above and persists.

Tried, all self-serve: disconnect/reconnect in Codex; revoke the OAuth grant (Authorized GitHub Apps) + reconnect; fully uninstall the GitHub App + reconnect granting all repos; waited between attempts. The connector replies in ~10s but only ever returns the “connect to GitHub” message above — never a review.

Looks like a server-side auth desync tied to the old (deactivated) account’s binding.

Has anyone discovered another way to clear this without waiting on support? Any way to fully reset the connector’s account binding?

Also discussion 9277

alexx-ftw · 1 month ago

Same thing happening to me. Tried all the self-service methods

juliangav · 12 days ago
Looks like a server-side auth desync tied to the old (deactivated) account’s binding.

Yup this seems to be it. Same issue on my end after trying everything else.

AlexVPopov · 7 days ago

Guys, I'm in the same situation. Here's my story:

  • initially had Codex review working on my personal account;
  • then created a business workspace and added my personal account to that workspace;
  • then I deactivated the workspace and started seeing "You have reached your Codex usage limits for code reviews." despite being on a pro personal account. More info here: https://github.com/openai/codex/discussions/8503
  • then I reactivated the business workspace, transferred it to another owner and left it with my personal account;
  • uninstalled the Codex connector from everywhere (personal GitHub account and organization);
  • tried to reinstall it, but then starting seeing a OAuth state invalid or not found error. The odd thing is, that after a page refresh, the connector does appear installed.
  • now, when requesting a review, I get the To use Codex here, create a Codex account and connect to github. error...

I don't know when OpenAI will fix this, really.