Skip to content

bug: Cannot Disconnect Github account #161

Description

@aghiadodeh

Version

run with npx

Current behavior

Bug Report: Unable to Disconnect GitHub Account in Capawesome

After connecting a GitHub account through Capawesome authentication/integration flow, there is no option to disconnect or switch to another GitHub account.

Even after revoking the OAuth access from GitHub settings (Authorized OAuth Apps), the application still automatically reconnects using the previously authorized account and does not allow selecting a different GitHub account.

Expected behavior

  • User should be able to disconnect/logout/remove the currently connected GitHub account.
  • After revoking authorization, the next login attempt should prompt GitHub account selection again.

Steps to reproduce

  1. Connect a GitHub account using Capawesome GitHub authentication.

  2. Successfully authenticate with Account A.

  3. Try to connect a different GitHub account (Account B).

  4. Notice there is no disconnect/logout/remove account option.

  5. Revoke the OAuth token from GitHub:

    • GitHub → Settings → Applications → Authorized OAuth Apps
  6. Attempt to authenticate again.

Other information

  • Revoking the OAuth token from GitHub does not clear the local authentication/session state.
  • A disconnect, logout, or clearSession method would solve the issue.

Doctor

npx capawesome doctor
Need to install the following packages:
capawesome@0.0.3
Ok to proceed? (y)

ERROR This package has been deprecated and is no longer maintained. Please use @capawesome/cli instead.

Before submitting

  • I have read and followed the bug report guidelines.
  • I have attached links to possibly related issues and discussions.
  • I understand that incomplete issues (e.g. without reproduction) are closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions