Javascript – How to stop page refresh after okta token refresh after every 2 min
import React from "react"; import { Route, Redirect, Switch } from "react-router-dom"; import { useOktaAuth } from "@okta/okta-react"; import { Superadmin } from "../../../../Application_Constants"; import { AuthPage } from "./AuthPage"; import { ErrorPage1 } from "../../errors/ErrorPage1"; import { makeStyles, useTheme…