Skip to content

Commit

Permalink
Fix keycloak import
Browse files Browse the repository at this point in the history
  • Loading branch information
simensma-fresh committed Dec 13, 2024
1 parent 1faf7bd commit c28fc97
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion services/common/src/keycloak.tsx
Original file line number Diff line number Diff line change
@@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion services/minespace-web/src/HOC/AuthenticationGuard.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion services/minespace-web/src/utils/authenticationHelpers.js
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit c28fc97

Please sign in to comment.