fix(web(js)): handle SAML assertion expiration

pull/274/head
Francis Lachapelle 2020-04-17 09:50:43 -04:00
parent 0683dafc22
commit 64461764c8
1 changed files with 1 additions and 1 deletions

View File

@ -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;