Added profile ARN handling in OAuth provider mapping and improved polling logic in OAuth modal for better user experience.
This commit is contained in:
parent
f4e08fcd16
commit
75f486b7a2
5 changed files with 105 additions and 17 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue