Added profile ARN handling in OAuth provider mapping and improved polling logic in OAuth modal for better user experience.

This commit is contained in:
decolua 2026-03-06 00:21:27 +07:00
parent f4e08fcd16
commit 75f486b7a2
5 changed files with 105 additions and 17 deletions

View file

@ -43,12 +43,14 @@ export default function KiroOAuthWrapper({ isOpen, providerInfo, onSuccess, onCl
setAuthMethod(null);
setSocialProvider(null);
onSuccess?.();
onClose?.(); // Close modal after success
};
const handleDeviceSuccess = () => {
setAuthMethod(null);
setIdcConfig(null);
onSuccess?.();
onClose?.(); // Close modal after success
};
// Show method selection first