From 64461764c83ad02a8778f44d6bab64c1d965cf60 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Fri, 17 Apr 2020 09:50:43 -0400 Subject: [PATCH] fix(web(js)): handle SAML assertion expiration --- UI/WebServerResources/js/Common/Common.app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/WebServerResources/js/Common/Common.app.js b/UI/WebServerResources/js/Common/Common.app.js index d04899718..365b3fc89 100644 --- a/UI/WebServerResources/js/Common/Common.app.js +++ b/UI/WebServerResources/js/Common/Common.app.js @@ -364,7 +364,7 @@ if ($window.usesCASAuthentication && rejection.status == -1) { return renewTicket($window, $q, $timeout, $injector, rejection); } - else if ($window.usesSAML2Authentication && rejection.status == 401 && !$window.recovered) { + else if ($window.usesSAML2Authentication && (rejection.status == 401 || rejection.status == -1) && !$window.recovered) { $state = $injector.get('$state'); angular.element($window).off('beforeunload'); $window.recovered = true;