- Paste refresh token from Kiro IDE. + Paste one or more refresh tokens from Kiro IDE. Bulk import supported.
Reading from AWS SSO cache
@@ -318,24 +374,26 @@ export default function KiroAuthModal({ isOpen, onMethodSelect, onClose }) { {!autoDetecting && ( <> {/* Success message if auto-detected */} - {autoDetected && ( + {autoDetected > 0 && !importResult && (- Token auto-detected from Kiro IDE successfully! + {autoDetected === 1 + ? "Token auto-detected from Kiro IDE successfully!" + : `${autoDetected} tokens auto-detected from AWS SSO cache.`}
- Kiro IDE not detected. Please paste your refresh token manually. + Kiro IDE not detected. Paste one or more refresh tokens below — one per line.
+ ✓ Imported {importResult.imported.length} token{importResult.imported.length === 1 ? "" : "s"} +
++ ✗ Failed {importResult.failed.length} token{importResult.failed.length === 1 ? "" : "s"} +
+{error}