diff --git a/services/common/src/keycloak.tsx b/services/common/src/keycloak.tsx index d09d41edb9..d051d8f845 100644 --- a/services/common/src/keycloak.tsx +++ b/services/common/src/keycloak.tsx @@ -1,5 +1,5 @@ import Keycloak from "keycloak-js"; -import { KEYCLOAK } from "./constants/environment"; +import { KEYCLOAK } from "@mds/common/constants/environment"; const keycloak = new Keycloak(KEYCLOAK); export const keycloakInitConfig = { diff --git a/services/minespace-web/src/HOC/AuthenticationGuard.js b/services/minespace-web/src/HOC/AuthenticationGuard.js index 769dc5b817..0ecf09f5a4 100644 --- a/services/minespace-web/src/HOC/AuthenticationGuard.js +++ b/services/minespace-web/src/HOC/AuthenticationGuard.js @@ -6,7 +6,7 @@ import { connect } from "react-redux"; import queryString from "query-string"; import hoistNonReactStatics from "hoist-non-react-statics"; import { useKeycloak } from "@react-keycloak/web"; -import { KEYCLOAK } from "./constants/environment"; +import { KEYCLOAK } from "@mds/common/constants/environment"; import { isAuthenticated } from "@mds/common/redux/selectors/authenticationSelectors"; import { authenticateUser } from "@/actionCreators/authenticationActionCreator"; import { storeUserAccessData } from "@mds/common/redux/actions/authenticationActions"; diff --git a/services/minespace-web/src/tests/utils/authenticationHelpers.spec.js b/services/minespace-web/src/tests/utils/authenticationHelpers.spec.js index 95698fd055..445c02f9db 100644 --- a/services/minespace-web/src/tests/utils/authenticationHelpers.spec.js +++ b/services/minespace-web/src/tests/utils/authenticationHelpers.spec.js @@ -1,4 +1,4 @@ -import { KEYCLOAK } from "./constants/environment"; +import { KEYCLOAK } from "@mds/common/constants/environment"; import keycloak from "@mds/common/keycloak"; import { signOutFromSSO, signOutFromSiteMinder } from "@/utils/authenticationHelpers"; import { diff --git a/services/minespace-web/src/utils/authenticationHelpers.js b/services/minespace-web/src/utils/authenticationHelpers.js index 139862b967..82379c8709 100644 --- a/services/minespace-web/src/utils/authenticationHelpers.js +++ b/services/minespace-web/src/utils/authenticationHelpers.js @@ -1,4 +1,4 @@ -import { KEYCLOAK } from "./constants/environment"; +import { KEYCLOAK } from "@mds/common/constants/environment"; import { KEYCLOAK_LOGOUT_REDIRECT_URI, SITEMINDER_LOGOUT_REDIRECT_URI,