Skip to content

[Bug]: GitHub OAuth login popup repeatedly triggers in network-restricted (intranet) environments #7652

Closed

Description

@AHCzyz

Operating system

Windows

Orca version

1.4.123

Details

Operating system

Windows 10 (also likely affects other OSes)

Orca version

(fill in your version)

Details

Short summary:
When Orca is used in an internal/intranet network that cannot reach github.com, the GitHub OAuth sign-in popup keeps re-triggering repeatedly. Since the network cannot complete the OAuth flow, the popup fails silently and Orca retries —
creating a loop of popups that blocks normal usage.

What happened?

  1. Orca is running on a machine inside a corporate intranet with no direct access to github.com / api.github.com
  2. On startup (or when accessing GitHub-related features), Orca attempts GitHub OAuth authentication
  3. The OAuth popup opens but cannot reach GitHub's auth endpoints due to network restrictions
  4. The popup fails/times out, but instead of entering a graceful fallback state, Orca re-triggers the login popup
  5. This creates a repeating loop of popups that is very disruptive to normal workflow

Expected behavior:

  • After a single OAuth failure (especially due to network unreachability), Orca should not retry automatically
  • There should be a way to dismiss the login prompt and continue working without GitHub integration
  • Ideally, detect network unreachability to github.com and skip the OAuth flow entirely, showing a non-intrusive status indicator instead

Actual behavior:

  • The GitHub login popup keeps appearing repeatedly
  • There is no clear way to stop the retry loop
  • Normal usage is severely disrupted

Related issues:

Suggested fix:

  1. Add exponential backoff or a max-retry limit for OAuth popup attempts
  2. When the OAuth endpoint is unreachable (network error / timeout), stop retrying and show a non-intrusive "GitHub unavailable" status
  3. Provide a "Skip" or "Don't ask again" option on the login popup so users in restricted networks can work without interruption

Metadata

Metadata

Assignees

Labels

buggitos:Windowssize/m

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions