diff --git a/src/app/hooks/useOneDrivePicker.tsx b/src/app/hooks/useOneDrivePicker.tsx index 3592530f2..75f6f8d31 100644 --- a/src/app/hooks/useOneDrivePicker.tsx +++ b/src/app/hooks/useOneDrivePicker.tsx @@ -21,7 +21,7 @@ export const useOneDrivePicker = ({ const msalParams = { auth: { authority: "https://login.microsoftonline.com/consumers", - clientId: "a5f756dd-d422-443e-93d2-3361f8a4a6f8", // Doesn't work if used as an env variable + clientId: "ce26cb41-0030-4516-9a0f-26c5c2df01ea", // Doesn't work if used as an env variable redirectUri: window.location.origin, }, }; diff --git a/src/app/modules/common/not-authorized-message/index.tsx b/src/app/modules/common/not-authorized-message/index.tsx index fa67cb7c2..efd8b123d 100644 --- a/src/app/modules/common/not-authorized-message/index.tsx +++ b/src/app/modules/common/not-authorized-message/index.tsx @@ -3,8 +3,9 @@ import { ErrorOutlineRounded } from "@material-ui/icons"; import HomeFooter from "app/modules/home-module/components/Footer"; import { ReactComponent as GoogleIcon } from "app/modules/onboarding-module/asset/google-img.svg"; import { ReactComponent as LinkedInIcon } from "app/modules/onboarding-module/asset/linkedIn-img.svg"; +import { ReactComponent as MicrosoftIcon } from "app/modules/onboarding-module/asset/microsoft-img.svg"; import ArrowBackIosIcon from "@material-ui/icons/ArrowBackIos"; -import { Container, useMediaQuery } from "@material-ui/core"; +import { Box, Container, useMediaQuery } from "@material-ui/core"; import { useAuth0 } from "@auth0/auth0-react"; import { socialAuth } from "app/utils/socialAuth"; import { Link, useHistory, useLocation } from "react-router-dom"; @@ -23,170 +24,220 @@ export function NotAuthorizedMessageModule(props: { return ( <> -
- {isAuthenticated ? (
- <>
- You are not authorized to {props.action} this {props.asset}.
- Please contact
your administrator.
- >
- ) : (
- <>
- You are not authorized to {props.action} this {props.asset}.
- Please sign in
or contact your administrator.
- >
- )}
-
- - Back to Dashboard -