To use Codex here, create a Codex account and connect to github
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.
19 Comments
try to disconnect & reconnect the GitHub connector in chatgpt.com, not in codex. This ended up working for me
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" />
I have tried everything, even a new ChatGPT account, nothing works
Also not working for me :/ tried everything
same here
same here
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 reviewworks 🤷♂️<img width="702" height="488" alt="Image" src="https://github.com/user-attachments/assets/27bb3311-6a76-4f73-833b-fcd8fd5b9190" />
Thanks for this tip! Helped me a lot!
having the same issue here :(
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...
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" />
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.
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:
What fails:
“To use Codex here, create a Codex account and connect to github.”
I have already tried:
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.
same here, I've tried everything and spent almost whole afternoon, but still no work
same issue, tried everything in this thread, no-go for the whole week
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
Same thing happening to me. Tried all the self-service methods
Yup this seems to be it. Same issue on my end after trying everything else.
Guys, I'm in the same situation. Here's my story:
OAuth state invalid or not founderror. The odd thing is, that after a page refresh, the connector does appear installed.To use Codex here, create a Codex account and connect to github.error...I don't know when OpenAI will fix this, really.