/** * MSAL Configuration for Entra External ID (Customer Identity) * * This uses the External ID tenant (CIAM) — different from the * internal Entra tenant used by the Admin/Management console. * * TODO: Replace placeholder values with actual External ID tenant details. */ export const msalConfig = { auth: { clientId: '154c9111-14a0-4c0f-8132-7bc68254a74e', authority: 'https://usimclients.ciamlogin.com/891f98f1-ed34-42a1-9b6c-28b0554d92c2', redirectUri: window.location.origin, postLogoutRedirectUri: window.location.origin, knownAuthorities: ['usimclients.ciamlogin.com'], }, cache: { cacheLocation: 'sessionStorage', storeAuthStateInCookie: false, }, }; export const loginRequest = { scopes: ['openid', 'profile', 'email'], }; // Registration Function API export const API_BASE_URL = 'https://adpregapi.usimdev.com'; // Function key for Registration API (AuthorizationLevel.Function) // TODO: Set this from your Azure Function → App Keys → default host key export const API_FUNCTION_KEY = '';