From 8692e647bdbace44539e2ec0c9662c9eeaba176a Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Wed, 10 Jun 2020 14:56:46 -0400 Subject: [PATCH] fix(web(js)): handle SAML assertion expiration --- UI/WebServerResources/js/Common/Common.app.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/UI/WebServerResources/js/Common/Common.app.js b/UI/WebServerResources/js/Common/Common.app.js index 5f8210fd0..a4f6dc6a8 100644 --- a/UI/WebServerResources/js/Common/Common.app.js +++ b/UI/WebServerResources/js/Common/Common.app.js @@ -319,9 +319,10 @@ deferred.resolve(response); }, function(response) { deferred.reject(response); + }).finally(function() { + $timeout(iframe.remove, 1000); }); - $timeout(iframe.remove, 2000); - }, 100); // Wait before replaying the request + }, 2000); // Wait before replaying the request } });