codex - 💡(How to fix) Fix GitHub connector should support issue creation or surface permission upgrade flow [1 comments, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#17475Fetched 2026-04-12 13:28:03
View on GitHub
Comments
1
Participants
1
Timeline
5
Reactions
1
Author
Participants
Timeline (top)
labeled ×3commented ×1cross-referenced ×1

Code Example

pull: true
push: false
triage: false
admin: false

---

gh auth login --hostname github.com --web --git-protocol https
gh issue create --repo openai/codex ...
RAW_BUFFERClick to expand / collapse

Codex GitHub integration can read a public repo through the connected GitHub app, but creating an issue required falling back to the gh CLI and a separate browser login.

Expected behavior: If GitHub is connected in Codex and the user asks to create an issue, Codex should either:

  1. create the issue through the GitHub connector when permissions allow it; or
  2. clearly explain that the connector is read-only for this repo/account and offer an in-app permission/auth flow.

Actual behavior: In a Codex Desktop session, the GitHub connector could read openai/codex repository metadata, but issue creation was not available through the exposed connector tools. The connector showed read-only repository permissions:

pull: true
push: false
triage: false
admin: false

The workflow then had to fall back to:

gh auth login --hostname github.com --web --git-protocol https
gh issue create --repo openai/codex ...

This required a second browser-based GitHub authorization even though the user had already connected GitHub to Codex.

Why this matters: From the user's perspective, "GitHub is connected" implies that common issue workflows should work through Codex. Having to separately authenticate gh is confusing and makes the connector feel incomplete.

Suggested fix:

  • Expose issue creation through the GitHub connector when permissions allow it.
  • If the installed GitHub app only has read permissions for a repository, show a clear permission state and offer a path to upgrade/re-authorize.
  • Avoid silently requiring a CLI fallback for common issue creation workflows.
  • If gh fallback is still needed, explain that it is a separate authentication path from the Codex GitHub connector.

extent analysis

TL;DR

The GitHub connector in Codex should be updated to handle issue creation when permissions allow it, or clearly explain its read-only status and offer an in-app permission upgrade path.

Guidance

  • Review the GitHub connector's permissions for the repository in question, ensuring it has the necessary permissions (e.g., triage or admin) to create issues.
  • Modify the Codex GitHub connector to expose issue creation functionality when the required permissions are present.
  • Implement a clear permission state display and an in-app authorization flow for users to upgrade their permissions when the connector only has read access to a repository.
  • Consider adding documentation or tooltips to clarify the difference between the Codex GitHub connector and the gh CLI tool, avoiding confusion about separate authentication paths.

Example

No code snippet is provided as the issue does not contain sufficient code details to create a minimal example.

Notes

The solution may require updates to the GitHub connector's API integration, the Codex application, or both, depending on where the permission checks and issue creation logic are implemented.

Recommendation

Apply a workaround by enhancing the GitHub connector to handle issue creation with proper permission checks and in-app authorization flows, as this approach directly addresses the user's expectation of seamless issue creation through the connected GitHub app.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING