Reactjs – After clicking on login button it is Redirecting to another page and coming back to signin page within seconds
Authconfig.js export const msalConfig = {auth: {clientId: "client-id",authority: "``https://login.microsoftonline.com/tenant-id``",redirectUri: "``http://localhost:5173/home``",},cache: {cacheLocation: "sessionStorage", issuesstoreAuthStateInCookie: false,},}; main.jsx import React from 'react'; import ReactDOM from 'react-dom/client'; import { MsalProvider } from '@azure/msal-react'; import { PublicClientApplication } from '@azure/msal-browser'; import { msalConfig } from…