Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: gh is authenticated but t3 says gh is NOT authenticated #7581

Closedmo(GitHub profile, opens in a new tab) opened this issue 3 comments

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/desktop

Steps to reproduce

Image

Expected behavior

Expecting t3 to say gh is authenticated

Actual behavior

t3 says gh not authenticated

Impact

Major degradation or frequent failure

Version or commit

No response

Environment

No response

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

No response

  1. mo(GitHub profile, opens in a new tab) added labelsbug

  2. mo(GitHub profile, opens in a new tab) added labelsneeds-triage

  3. lukidoescode(GitHub profile, opens in a new tab)commented

    I had the same issue. For me it was that I had the GH token in my env.

    I had to remove the token from my env and use gh auth login directly.

    After I did that, T3 Code pcked it right up.

    Edit: I agree that it should be fixed, but I thought I’d share my workaround as along as we’re waiting for the fix.

  4. Thanks for the detailed report. We believe this is fixed by PR #7588.

    The issue screenshot shows gh 2.45.0, which predates the JSON authentication probe. The landed fix recognizes that unsupported flag and reports an outdated CLI with an upgrade hint instead of falsely saying not authenticated. The installed executable is already found in this report, so the later macOS ENOENT issue is a different bug. The separate commenter resolved their token-environment case with gh auth login.

    I'm closing this as fixed as part of an automated pass on all open issues. If this still happens in a current build that includes PR #7588, please reply with the T3 Code version and fresh logs or reproduction details, and we can reopen it.

  5. p-j(GitHub profile, opens in a new tab)commented

    @t3dotgg it is still happening, fresh install of v0.0.40, while #7588 was released with v0.0.34 Still not working on WSL, gh authenticated through github_token reports unauthenticated in T3Code.

    Image

    And same as above, if I remove the github token and execute gh auth login then it works fine

Sign in to join this conversation.