This commit is contained in:
andrea.terzani
2025-04-17 07:38:38 +02:00
parent d14172ceb6
commit ae16bf4d7e
2 changed files with 30 additions and 22 deletions

View File

@@ -5,8 +5,8 @@ import { PublicClientApplication } from '@azure/msal-browser';
export const msalInstance = new PublicClientApplication({
auth: {
clientId: 'd3fee0e3-49e0-4910-b0b4-805bfbd5488a',
authority: "https://login.microsoftonline.com/9dc4721e-4d54-4c40-a681-1dd740292901",
clientId: '0c51b431-65ef-40fa-89ff-f66a1c583e0d',
authority: "https://login.microsoftonline.com/f3211d0e-125b-42c3-86db-322b19a65a22/",
redirectUri: "http://localhost:5173/auth/callback", // or your deployed URL
navigateToLoginRequestUrl: false,
},
@@ -15,5 +15,21 @@ export const msalInstance = new PublicClientApplication({
storeAuthStateInCookie: false,
}
})
/*
export const msalInstance = new PublicClientApplication({
auth: {
clientId: 'd3fee0e3-49e0-4910-b0b4-805bfbd5488a',
authority: "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 msalrequest = {
scopes: ["User.Read", "Mail.Read"],
}