From 2d091eed86234cd1a12f47a374c0349567aba6e6 Mon Sep 17 00:00:00 2001 From: Zak Burke Date: Mon, 15 Jul 2024 07:16:04 -0400 Subject: [PATCH] actually include the change, dummy --- src/components/Root/token-util.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/components/Root/token-util.js b/src/components/Root/token-util.js index 32ede2604..fc7b71223 100644 --- a/src/components/Root/token-util.js +++ b/src/components/Root/token-util.js @@ -5,6 +5,7 @@ import { RTRError, UnexpectedResourceError } from './Errors'; import { RTR_ACTIVITY_EVENTS, RTR_ERROR_EVENT, + RTR_FLS_WARNING_TTL, RTR_IDLE_MODAL_TTL, RTR_IDLE_SESSION_TTL, RTR_SUCCESS_EVENT, @@ -74,6 +75,7 @@ export const isAuthenticationRequest = (resource, oUrl) => { '/authn/token', '/bl-users/login-with-expiry', '/bl-users/_self', + '/users-keycloak/_self', ]; return !!permissible.find(i => string.startsWith(`${oUrl}${i}`)); @@ -325,5 +327,11 @@ export const configureRtr = (config = {}) => { conf.activityEvents = RTR_ACTIVITY_EVENTS; } + // how long is the "your session is gonna die!" warning shown + // before the session is, in fact, killed? + if (!conf.fixedSessionWarningTTL) { + conf.fixedSessionWarningTTL = RTR_FLS_WARNING_TTL; + } + return conf; };