API key auth only provides short-lived session tokens (8hrs or until session restart) with no refresh mechanism, unlike OAuth which persists via .credentials.json. Remove the non-functional API key settings UI and all supporting code (frontend state, Tauri commands, keyring storage, container env var injection, and fingerprint-based recreation checks) to avoid user confusion. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
11 lines
385 B
TypeScript
11 lines
385 B
TypeScript
export default function ApiKeyInput() {
|
|
return (
|
|
<div>
|
|
<label className="block text-sm font-medium mb-1">Authentication</label>
|
|
<p className="text-xs text-[var(--text-secondary)] mb-3">
|
|
Each project can use <strong>claude login</strong> (OAuth, run inside the terminal) or <strong>AWS Bedrock</strong>. Set auth mode per-project.
|
|
</p>
|
|
</div>
|
|
);
|
|
}
|