Skip to content

[BUG] [alpha] Account panel "Continue with GitHub" and "Continue with Google" sign-in buttons have no click handlers — authentication flow never initiates #22229

Description

@Grizouforever

Project

ide

Description

The Account panel's sign-in buttons ("Continue with GitHub" and "Continue with Google") render with pointer cursor styling but have no onClick handler at all. Clicking either button does absolutely nothing — no OAuth flow, no redirect, no error message, no feedback of any kind.

Steps to Reproduce

  1. Open Cortex IDE
  2. Switch to IDE mode
  3. Click the User account icon at the bottom of the activity bar to open the Account panel
  4. In the "Profile" tab, observe the "Sign In" section with two buttons
  5. Click "Continue with GitHub" — nothing happens
  6. Click "Continue with Google" — nothing happens

Expected Behavior

Clicking "Continue with GitHub" should initiate a GitHub OAuth authentication flow (redirect to GitHub authorization page or open an auth dialog). Similarly for "Continue with Google".

Actual Behavior

Both buttons are completely inert. They render with cursor: pointer styling (suggesting they are interactive) but have no onClick prop attached. The authentication flow never starts.

Evidence

In CortexAccountPanel.tsx lines 175–182, both buttons lack any onClick handler:

<button style={signInBtnStyle}>
  <CortexIcon name="git-logo" size={16} color="var(--cortex-text-primary)" />
  <span>Continue with GitHub</span>
</button>
<button style={signInBtnStyle}>
  <CortexIcon name="globe" size={16} color="var(--cortex-text-primary)" />
  <span>Continue with Google</span>
</button>

The signInBtnStyle includes cursor: "pointer" (line 158) making the buttons appear clickable, but there is no onClick, onPointerDown, or any other event handler attached to either button element.

Screenshots

Account panel showing sign-in buttons with no click handlers

System Information

Cortex IDE alpha (v1.1.0) / Browser / Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already existsideIssues related to IDE

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions