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
- Install and start cloudcli:
npm install -g @cloudcli-ai/cloudcli && cloudcli
- Open http://localhost:3001 in browser
- Log in with username and password
- 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:
- Open browser DevTools (F12)
- Run:
localStorage.removeItem('auth-token'); location.reload();
- 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();
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
npm install -g @cloudcli-ai/cloudcli && cloudcliExpected Behavior
There should be an accessible logout button, typically located in:
Actual Behavior
No logout button exists in the UI. The only way to logout is to:
localStorage.removeItem('auth-token'); location.reload();Environment
Suggested Solution
Add a logout button in one of these locations:
The logout API endpoint already exists at
/api/auth/logoutand works correctly. Only the UI button is missing.Workaround