/* paste this into WebTemplate: Scooore\ScooorePayments\app_settings.js */ "use strict"; var AmplexorPOS = window.AmplexorPOS || {}; AmplexorPOS.AzureFunctionsService_Config = (function () { let appConfig = { b2cScopes: ["https://portallonetprodb2c.onmicrosoft.com/6b4e9f1d-c7ef-4e4c-906a-a224d54c0b52/read"], // see APP ID URI WebApi: "https://prdlonetfunc01.azurewebsites.net/api/Integration", ScoooreWebApi: "https://prdlonetfunc01.azurewebsites.net/api/Scooore", DownloadWebApi: "https://prdlonetfunc01.azurewebsites.net/api/Download", PowerBITokensWebApi: "https://prdlonetfunc01.azurewebsites.net/api/EmbedInfo", Env: "PORTAL_PROD", LonetHome: "https://lonet.lonalo.be/" }; // Config object to be passed to MSAL on creation. // For a full list of msal.js configuration parameters, // visit https://azuread.github.io/microsoft-authentication-library-for-js/docs/msal/modules/_configuration_.html const msalConfig = { auth: { clientId: "6b4e9f1d-c7ef-4e4c-906a-a224d54c0b52", //This is your client ID / app ID doing auth in B2C tenant authority: "https://portallonetprodb2c.b2clogin.com/portallonetprodb2c.onmicrosoft.com/B2C_1_Portal-Flow-Std", //This is your tenant info validateAuthority: false, redirectUri: "https://lonet.lonalo.be/", navigateToLoginRequestUrl: true, knownAuthorities: ['portallonetprodb2c.b2clogin.com'], }, cache: { cacheLocation: "localStorage", // This configures where your cache will be stored, localStoreage is needed for SSO between browser tabs, see https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-js-sso //storeAuthStateInCookie: true // Set this to "true" to save cache in cookies to address trusted zones limitations in IE (see: https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki/Known-issues-on-IE-and-Edge-Browser) storeAuthStateInCookie: false, }, }; //public interface return { appConfig: appConfig, msalConfig: msalConfig, }; })();