appid added
This commit is contained in:
@@ -1,21 +1,18 @@
|
||||
import { PublicClientApplication } from '@azure/msal-browser';
|
||||
|
||||
export const msalInstance = new PublicClientApplication({
|
||||
auth: {
|
||||
clientId: '1ddbd871-9544-4a31-97a4-2968ce08e49a', //'d3fee0e3-49e0-4910-b0b4-805bfbd5488a',
|
||||
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
|
||||
navigateToLoginRequestUrl: false
|
||||
},
|
||||
cache: {
|
||||
cacheLocation: 'localStorage',
|
||||
storeAuthStateInCookie: false
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
export const msalInstance = new PublicClientApplication({
|
||||
auth: {
|
||||
clientId: '1ddbd871-9544-4a31-97a4-2968ce08e49a',
|
||||
authority: "https://login.microsoftonline.com/e0793d39-0939-496d-b129-198edd916feb/",
|
||||
redirectUri: "http://localhost:5173/auth/callback", // or your deployed URL
|
||||
navigateToLoginRequestUrl: false,
|
||||
},
|
||||
cache: {
|
||||
cacheLocation: "localStorage",
|
||||
storeAuthStateInCookie: false,
|
||||
}
|
||||
})
|
||||
|
||||
/*
|
||||
export const msalInstance = new PublicClientApplication({
|
||||
auth: {
|
||||
@@ -30,6 +27,6 @@ export const msalInstance = new PublicClientApplication({
|
||||
}
|
||||
})
|
||||
*/
|
||||
export const msalrequest = {
|
||||
scopes: ["User.Read"],
|
||||
}
|
||||
export const msalrequest = {
|
||||
scopes: ['1ddbd871-9544-4a31-97a4-2968ce08e49a/.default'] //['api://d3fee0e3-49e0-4910-b0b4-805bfbd5488a/access_as_user']
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user