Skip to content

Bug[GitHub sync]: Infinite loader on first connection attempt; succeeds only after second attempt #186

@pluuto19

Description

@pluuto19

When connecting the app to GitHub using the “Connect to GitHub” button to enable repository sync, the authorization process fails on the first attempt. After successful authorization on GitHub, the redirect window displays an infinite loading spinner until it must be closed manually, showing the message “authorization window closed.” However, on the second attempt, clicking “Connect to GitHub” again causes the redirect window to open and close instantly, after which the connection succeeds.

To Reproduce:

  • Go to the repo sync sidebar.
  • Click the “Connect to GitHub” button.
  • Complete GitHub’s authorization flow.
  • Observe that the redirect window shows an infinite loading spinner and must be closed manually, leading to a failure message.
  • Click “Connect to GitHub” again.
  • Observe that the redirect window opens and closes instantly, and the connection completes successfully.

Expected behavior:
The OAuth redirect window should resolve successfully on the first attempt, closing automatically after authorization without requiring a manual retry or infinite loading.

OS: Windows 10
Browser: Chrome
Version: 141.0.7390.123 (Official Build) (64-bit)

Untitled.video.-.Made.with.Clipchamp.4.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions