First build
Some checks failed
Client Admin / build-deploy (push) Failing after 8s
Client Client / build-deploy (push) Failing after 3s
Client Registration / build-deploy (push) Failing after 20s
Client Tech / build-deploy (push) Failing after 1s
Client Home / build-deploy (push) Successful in 14s

This commit is contained in:
Grae Jones
2026-03-21 17:54:42 -07:00
parent 3647b304a3
commit fdb3e117a9
203 changed files with 35733 additions and 18189 deletions

View File

@@ -260,3 +260,7 @@ export default function AuthProvider({ children }) {
</MsalProvider>
);
}
// ─── Named export alias (index.js uses { AuthProvider }) ───
export { AuthProvider };

View File

@@ -4,7 +4,10 @@ const CLIENT_ID = '154c9111-14a0-4c0f-8132-7bc68254a74e';
const AUTHORITY = `https://USIMClients.ciamlogin.com/${TENANT_ID}`;
// ─── Gateway API ───
export const GATEWAY_URL = 'https://adsapi.usimdev.com';
export const GATEWAY_URL = 'https://adpapi.usimdev.com';
// ─── Management API (used by HelpIcon for contextual help content) ───
export const MANAGEMENT_URL = 'https://adpmgmt.usimdev.com';
// ─── Session endpoint ───
export const SESSION_ENDPOINT = `${GATEWAY_URL}/api/auth/session`;
@@ -23,7 +26,7 @@ export const msalConfig = {
navigateToLoginRequestUrl: true
},
cache: {
cacheLocation: 'sessionStorage',
cacheLocation: 'localStorage',
storeAuthStateInCookie: false
},
system: {
@@ -45,3 +48,10 @@ export const msalConfig = {
export const loginRequest = {
scopes: ['openid', 'profile', 'email']
};
// ─── Aliases for current Client components ───
export const API_BASE_URL = GATEWAY_URL;
export const GATEWAY_API_URL = GATEWAY_URL;
export const API_BASE = GATEWAY_URL;
export const MGMT_BASE = MANAGEMENT_URL;