Skip to content

fix: let pipes use OAuth GitHub connections via proxy#3976

Merged
louis030195 merged 1 commit into
screenpipe:mainfrom
Anshgrover23:fix/github-pipe-issue
Jun 10, 2026
Merged

fix: let pipes use OAuth GitHub connections via proxy#3976
louis030195 merged 1 commit into
screenpipe:mainfrom
Anshgrover23:fix/github-pipe-issue

Conversation

@Anshgrover23

@Anshgrover23 Anshgrover23 commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Description:

Screen.Recording.2026-06-10.at.11.26.53.PM.mov

Fixes #3972

Fixes #3982

  • GitHub shows as "Connected" after OAuth, but pipes with connections: ["github"] were blocked as "unconfigured" because the readiness check only looked at saved credentials, not OAuth tokens in SecretStore.
  • GET /connections/github returns {"credentials":{}} by design — OAuth tokens are never exposed — so pipes/docs that expected a raw token could not authenticate to GitHub.
  • Pipes trying to call https://api.github.com/... directly had no token and failed silently; the bundled skill still told agents to read credentials from GET /connections/<id>.

Fix:

  • Add is_connection_configured() to treat OAuth integrations as ready when a recoverable token exists in SecretStore; use it for manual and scheduled pipe connection gates.
  • Update screenpipe-api skill, PipeConfig.connections docs, and GitHub connection description to document the proxy path: POST /connections/github/proxy/repos/{owner}/{repo}/issues.
  • Regenerate screenpipe-skills.ts so agent-facing docs match the proxy contract.

@louis030195 louis030195 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Anshgrover23 lgtm, super clean fix. ill merge

generated by the screenpipe pr-review pipe (https://screenpi.pe), not written by a human — reply and tag @louis030195 if it got something wrong.

@Anshgrover23 Anshgrover23 requested a review from louis030195 June 10, 2026 18:53
@Anshgrover23

Copy link
Copy Markdown
Contributor Author

@louis030195 Can I get a review on this one ?

@louis030195 louis030195 merged commit c3b8027 into screenpipe:main Jun 10, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants