intelica-library-ui 0.1.51 → 0.1.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -330,6 +330,8 @@ const RefreshTokenInterceptor = (req, next) => {
330
330
  let authenticationLocation = `${configService.environment?.authenticationWeb}?callback=${window.location.href}&clientID=${configService.environment?.clientID}`;
331
331
  let path = `${configService.environment?.authenticationPath ?? ""}/Authenticate/ValidateToken`;
332
332
  var authenticationClientID = configService.environment?.clientID ?? "";
333
+ console.log(authenticationClientID);
334
+ console.log(getCookie(authenticationClientID));
333
335
  let validateTokenQuery = {
334
336
  token: getCookie("token") ?? "",
335
337
  refreshToken: getCookie("refreshToken") ?? "",
@@ -350,6 +352,7 @@ const RefreshTokenInterceptor = (req, next) => {
350
352
  Cookies.remove("businessUserClientGroupID", CookieAttributesGeneral);
351
353
  Cookies.remove("defaultClientID", CookieAttributesGeneral);
352
354
  Cookies.remove("defaultClientGroupID", CookieAttributesGeneral);
355
+ Cookies.remove(authenticationClientID, CookieAttributesGeneral);
353
356
  window.location.href = authenticationLocation;
354
357
  return next(_request);
355
358
  }