Skip to content

Restore GitHub access

Use this guide when Sync reports an authentication error, or a GitHub repository that you expect to access is unavailable.

  1. Open Settings → Integrations.
  2. Find GitHub.
  3. If GitHub is Not connected, select Connect.
  4. Complete the browser verification with the GitHub account that has access to the repository.
  5. Return to IOFabrik and wait for Connected.

Your IOFabrik account and GitHub connection are separate. Signing in to IOFabrik does not grant access to a GitHub repository.

If the connected GitHub account is wrong, select Disconnect, then Connect with the correct account. Disconnecting GitHub removes that local GitHub connection. It does not delete your project or saved revisions.

Run these commands as the same Windows user who runs IOFabrik:

Terminal window
$gh = Join-Path $env:LOCALAPPDATA 'IOFabrik\tools\bin\gh\bin\gh.exe'
& $gh auth status --hostname github.com
& $gh api user --jq '.login'

Expect a successful authentication report and your GitHub username. If the executable is missing, restore supporting tools.

If authentication fails, reconnect in Settings → Integrations. Do not add --show-token or copy authentication tokens into a support report.

Replace OWNER/REPOSITORY with the repository shown in Repository Settings → Remote Sync:

Terminal window
$gh = Join-Path $env:LOCALAPPDATA 'IOFabrik\tools\bin\gh\bin\gh.exe'
& $gh repo view 'OWNER/REPOSITORY' --json nameWithOwner,viewerPermission

Expect the intended repository name. WRITE, MAINTAIN, or ADMIN permits normal pushes. READ or TRIAGE permits reading without normal push access.

If authentication succeeds but this check reports that the repository cannot be found, confirm the owner and name. For a private repository, ask its administrator to grant access. If your organization uses single sign-on, complete its authorization requirements for your GitHub connection.

Return to the correct project and select Sync once. If authentication succeeds but Sync still fails, follow Fix a failed Sync.

When you report a remaining failure, include the error text, the connected GitHub username, and whether you can read or write the repository. Export debug logs when the error needs more detail.