appid added

This commit is contained in:
sumedh
2025-04-17 16:32:53 +05:30
parent d92d1b8559
commit c2973ddb5e

View File

@@ -1,20 +1,17 @@
import { PublicClientApplication } from '@azure/msal-browser'; import { PublicClientApplication } from '@azure/msal-browser';
export const msalInstance = new PublicClientApplication({ export const msalInstance = new PublicClientApplication({
auth: { auth: {
clientId: '1ddbd871-9544-4a31-97a4-2968ce08e49a', clientId: '1ddbd871-9544-4a31-97a4-2968ce08e49a', //'d3fee0e3-49e0-4910-b0b4-805bfbd5488a',
authority: "https://login.microsoftonline.com/e0793d39-0939-496d-b129-198edd916feb/", authority: 'https://login.microsoftonline.com/e0793d39-0939-496d-b129-198edd916feb/', //'https://login.microsoftonline.com/9dc4721e-4d54-4c40-a681-1dd740292901/', //
redirectUri: "http://localhost:5173/auth/callback", // or your deployed URL redirectUri: 'http://localhost:5173/auth/callback', // or your deployed URL
navigateToLoginRequestUrl: false, navigateToLoginRequestUrl: false
}, },
cache: { cache: {
cacheLocation: "localStorage", cacheLocation: 'localStorage',
storeAuthStateInCookie: false, storeAuthStateInCookie: false
} }
}) });
/* /*
export const msalInstance = new PublicClientApplication({ export const msalInstance = new PublicClientApplication({
@@ -31,5 +28,5 @@ export const msalInstance = new PublicClientApplication({
}) })
*/ */
export const msalrequest = { export const msalrequest = {
scopes: ["User.Read"], scopes: ['1ddbd871-9544-4a31-97a4-2968ce08e49a/.default'] //['api://d3fee0e3-49e0-4910-b0b4-805bfbd5488a/access_as_user']
} };