Skip to content

Missing Logout Button in UI #797

Description

@ataskite

Missing Logout Button in UI

Summary

There is no logout button visible in the CloudCLI UI interface. Once logged in, users cannot sign out through the UI and must manually clear browser storage or use developer tools.

Steps to Reproduce

  1. Install and start cloudcli: npm install -g @cloudcli-ai/cloudcli && cloudcli
  2. Open http://localhost:3001 in browser
  3. Log in with username and password
  4. Look for a logout/sign out button in the interface

Expected Behavior

There should be an accessible logout button, typically located in:

  • Settings menu
  • User profile dropdown
  • Header/navbar area
  • Or any other intuitive location

Actual Behavior

No logout button exists in the UI. The only way to logout is to:

  1. Open browser DevTools (F12)
  2. Run: localStorage.removeItem('auth-token'); location.reload();
  3. Or manually clear browser data

Environment

  • CloudCLI Version: 1.32.0
  • Browser: Chrome/Safari (tested on both)
  • OS: macOS

Suggested Solution

Add a logout button in one of these locations:

  • Settings panel (already exists, but no logout option)
  • User avatar/name dropdown in header
  • Next to the version number in footer

The logout API endpoint already exists at /api/auth/logout and works correctly. Only the UI button is missing.

Workaround

// Run in browser console
localStorage.removeItem('auth-token');
location.reload();

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    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