intelica-library-components 1.1.57 → 1.1.58

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.
@@ -649,7 +649,7 @@ const RefreshTokenInterceptor = (req, next) => {
649
649
  const cookieAttributesGeneral = GetCookieAttributes(configService.environment?.environment ?? "");
650
650
  let _request = req.clone();
651
651
  let authenticationLocation = `${configService.environment?.authenticationWeb}?callback=${window.location.href}&clientID=${configService.environment?.clientID}`;
652
- let path = `${configService.environment?.authenticationPath ?? ""}/Authenticate/ValidateToken`;
652
+ let path = `${configService.environment?.authenticationPath ?? ""}/Authenticate/auth/token/validate`;
653
653
  var authenticationClientID = configService.environment?.clientID ?? "";
654
654
  let validateTokenQuery = {
655
655
  token: getCookie("token") ?? "",
@@ -660,9 +660,9 @@ const RefreshTokenInterceptor = (req, next) => {
660
660
  controller: "",
661
661
  httpVerb: "GET",
662
662
  businessUserClientGroupID: getCookie("businessUserClientGroupID") ?? "",
663
- access: authenticationClientID == "" ? "" : (getCookie(authenticationClientID) ?? ""),
663
+ access: authenticationClientID == "" ? "" : getCookie(authenticationClientID) ?? "",
664
664
  };
665
- if (!req.url.includes("ValidateToken") && !req.url.includes("environment.json") && !req.url.includes("GetAuthenticationFromCache"))
665
+ if (!req.url.includes("auth/token/validate") && !req.url.includes("environment.json"))
666
666
  return from(httpClient.post(path, validateTokenQuery)).pipe(switchMap((response) => {
667
667
  if (response.expired) {
668
668
  intelicaSessionService.clearAll();