Summary
Add dashboard-native OAuth provider login and logout workflows. The built-in /login and /logout commands are valid dashboard commands, but will temporarily show a not-yet-implemented notice until this work lands.
Current Behavior
- OAuth login and logout are available only through the terminal UI.
- The dashboard has no provider selector or authentication workflow.
/login and /logout can be discovered and intercepted by the built-in-command work, but cannot perform their actions.
Proposed Behavior
/login opens a dashboard provider selector and starts the selected provider's OAuth flow.
/logout lists authenticated providers and allows the user to remove credentials after confirmation.
- Browser links, manual codes, provider prompts, progress, cancellation, and errors are presented in dashboard UI.
- Credentials and tokens remain in the agent process and are never returned to the browser.
- Slash commands and any future dashboard buttons use the same underlying actions.
Acceptance Criteria
Context
Technical Notes
Reuse the existing OAuth provider and auth-storage abstractions. Keep provider credentials inside the agent process; dashboard APIs should expose only provider metadata, user-facing prompts, progress, and completion status.
Summary
Add dashboard-native OAuth provider login and logout workflows. The built-in
/loginand/logoutcommands are valid dashboard commands, but will temporarily show a not-yet-implemented notice until this work lands.Current Behavior
/loginand/logoutcan be discovered and intercepted by the built-in-command work, but cannot perform their actions.Proposed Behavior
/loginopens a dashboard provider selector and starts the selected provider's OAuth flow./logoutlists authenticated providers and allows the user to remove credentials after confirmation.Acceptance Criteria
/loginopens the OAuth provider selection workflow./logoutlists authenticated providers and removes the selected credential after confirmation.Context
Technical Notes
Reuse the existing OAuth provider and auth-storage abstractions. Keep provider credentials inside the agent process; dashboard APIs should expose only provider metadata, user-facing prompts, progress, and completion status.