Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Images in a private GitHub pull request show "Image unavailable" on an SSO org #18904

ClosedSma-Das(GitHub profile, opens in a new tab) opened this issue 1 comment

Before submitting

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

Area

apps/server

Steps to reproduce

  1. Use a private repository in a GitHub organization that enforces SAML SSO. gh on the T3 host can read the repository.
  2. Open a pull request in T3 whose description has uploaded screenshots. The three alts here are desktop-light, narrow-dark, and narrow-light.
  3. The pull request title and description load.

Expected behavior

The screenshots render in the pull request view. Private GitHub uploads are fetched with the gh credential (#11706).

Actual behavior

Each screenshot is a placeholder:

  • Image unavailable · desktop-light
  • Image unavailable · narrow-dark
  • Image unavailable · narrow-light

This is the same SSO failure as #14166, on another organization. There, GET https://github.com/user-attachments/assets/<id> with the gh token returns 200 text/html (the org SSO sign-in page) and /api/assets/* returns 415. I did not capture a fresh trace for this org.

Pull request view showing Image unavailable for desktop-light, narrow-dark, and narrow-light

Impact

Major degradation or frequent failure

Version or commit

not captured

Environment

macOS, T3 Code pull request view. Private GitHub repository in an organization that enforces SAML SSO.

Logs or stack traces

No new log from this org. The trace on #14166 matches the placeholders in the pull request view.

Workaround

The same images load on github.com.

  1. Note

    Grok responding on behalf of Julius.

    This is the same SAML SSO failure already tracked in https://github.com/pingdotgg/t3code/issues/14166 (private user-attachments media returns SSO HTML instead of the signed asset). Closing this as a duplicate so we keep one open report — please add any new org-specific detail there.

  2. juliusmarminge added labelsduplicate

  3. juliusmarminge closed this

Sign in to join this conversation.